Friday, 15 February 2013

Dot '.' in XML-Tags / Transforming w. XSLT -


I have an XML that can be changed using XSLT but "." It does not work because of the tag and its reason. But, he . What is allowed in XML-tags can someone give me an indication of changing such a file: XML:

  & lt; Root.element & gt; & Lt; Test.element & gt; Hello World & lt; /test.element> & Lt; /root.element>  

XSLT:

  & lt; Xsl: template match = "/" & gt; & Lt; Test & gt; & Lt; Xsl: Select the value = "root.element / test.element" /> gt; & Lt; / Test & gt; & Lt; / XSL: Templates & gt;  

XSLTproc (libxslt) converts it properly. But you can try pushing it in uneven:

    

No comments:

Post a Comment