HVAC and Pumping Forum
Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-11-21 06:00 AM
What is the criterion used by the automatic documentation script to generate the HTML documentation list. It does not follow either the pages tree or an alphabetical order as far as I could see.
It would be nice if one could define a logical order according to how the user interface is supposed to work.
Also, the programming manual says that Documentation.xsl file can be personalized to redefine the report stye. Are there any examples available?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-11-22 01:35 AM
Hello,
unfortunately there are no examples, documentation is created with a xsl document which extract data from the xml file representing the HMI project.
If you add to the documentation.xsl file present in your project the line in bold, pages will be sorted in alphabetical order:
...
<xsl:for-each select="PRJ_RESOURCES/PAGES/PAGE">
<xsl:sort select="@name"/>
<table class="table1">
<tr class="titlePage">
...
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-11-22 01:35 AM
Hello,
unfortunately there are no examples, documentation is created with a xsl document which extract data from the xml file representing the HMI project.
If you add to the documentation.xsl file present in your project the line in bold, pages will be sorted in alphabetical order:
...
<xsl:for-each select="PRJ_RESOURCES/PAGES/PAGE">
<xsl:sort select="@name"/>
<table class="table1">
<tr class="titlePage">
...
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-11-22 07:33 AM
Thanks. That´s a start.
I´ve never done much with XML files. To start with, naming the pages in alphabetical order does give me a better order in terms of the documentation. I need to figure out how to modify the xls file so that page title gets stripped of maybe the first two characters, but I guess I will figure it out.
If you already know the answer it would help.
Regards
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of