equal
deleted
inserted
replaced
1 <?xml version="1.0"?> |
1 <?xml version="1.0"?> |
2 <xsl:stylesheet xmlns:ns="beremiz" xmlns:definitions="definitions" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:func="http://exslt.org/functions" xmlns:epilogue="epilogue" xmlns:preamble="preamble" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:svg="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:str="http://exslt.org/strings" xmlns:regexp="http://exslt.org/regular-expressions" xmlns:exsl="http://exslt.org/common" xmlns:declarations="declarations" xmlns:debug="debug" exclude-result-prefixes="ns func exsl regexp str dyn debug preamble epilogue declarations definitions" extension-element-prefixes="ns func exsl regexp str dyn" version="1.0"> |
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:regexp="http://exslt.org/regular-expressions" xmlns:str="http://exslt.org/strings" xmlns:func="http://exslt.org/functions" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:debug="debug" xmlns:preamble="preamble" xmlns:declarations="declarations" xmlns:definitions="definitions" xmlns:epilogue="epilogue" xmlns:ns="beremiz" version="1.0" extension-element-prefixes="ns func exsl regexp str dyn" exclude-result-prefixes="ns func exsl regexp str dyn debug preamble epilogue declarations definitions"> |
3 <xsl:output method="xml" cdata-section-elements="xhtml:script"/> |
3 <xsl:output cdata-section-elements="xhtml:script" method="xml"/> |
4 <xsl:variable name="svg" select="/svg:svg"/> |
4 <xsl:variable name="svg" select="/svg:svg"/> |
5 <xsl:variable name="hmi_elements" select="//svg:*[starts-with(@inkscape:label, 'HMI:')]"/> |
5 <xsl:variable name="hmi_elements" select="//svg:*[starts-with(@inkscape:label, 'HMI:')]"/> |
6 <xsl:variable name="hmitree" select="ns:GetHMITree()"/> |
6 <xsl:variable name="hmitree" select="ns:GetHMITree()"/> |
7 <xsl:variable name="_categories"> |
7 <xsl:variable name="_categories"> |
8 <noindex> |
8 <noindex> |
5938 <xsl:text>Made with SVGHMI. https://beremiz.org</xsl:text> |
5938 <xsl:text>Made with SVGHMI. https://beremiz.org</xsl:text> |
5939 </xsl:comment> |
5939 </xsl:comment> |
5940 <xsl:comment> |
5940 <xsl:comment> |
5941 <xsl:apply-templates select="document('')/*/debug:*"/> |
5941 <xsl:apply-templates select="document('')/*/debug:*"/> |
5942 </xsl:comment> |
5942 </xsl:comment> |
5943 <html xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/1999/xhtml"> |
5943 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
5944 <head/> |
5944 <head/> |
5945 <body style="margin:0;overflow:hidden;"> |
5945 <body style="margin:0;overflow:hidden;"> |
5946 <xsl:copy-of select="$result_svg"/> |
5946 <xsl:copy-of select="$result_svg"/> |
5947 <script> |
5947 <script> |
5948 <xsl:text> |
5948 <xsl:text> |
6057 </xsl:text> |
6057 </xsl:text> |
6058 <xsl:text> BOOL: (dv,offset) => [dv.getInt8(offset, true), 1], |
6058 <xsl:text> BOOL: (dv,offset) => [dv.getInt8(offset, true), 1], |
6059 </xsl:text> |
6059 </xsl:text> |
6060 <xsl:text> NODE: (dv,offset) => [dv.getInt8(offset, true), 1], |
6060 <xsl:text> NODE: (dv,offset) => [dv.getInt8(offset, true), 1], |
6061 </xsl:text> |
6061 </xsl:text> |
|
6062 <xsl:text> REAL: (dv,offset) => [dv.getFloat32(offset, true), 4], |
|
6063 </xsl:text> |
6062 <xsl:text> STRING: (dv, offset) => { |
6064 <xsl:text> STRING: (dv, offset) => { |
6063 </xsl:text> |
6065 </xsl:text> |
6064 <xsl:text> size = dv.getInt8(offset); |
6066 <xsl:text> size = dv.getInt8(offset); |
6065 </xsl:text> |
6067 </xsl:text> |
6066 <xsl:text> return [ |
6068 <xsl:text> return [ |