0
comment
comment
on 2/6/2015 11:20 PM
Sometimes when working with xml you have more information in the xml file than you know what to do with in your code. It could be new tags or attributes. A way to use the xml you have not anticipated in your code. A simple way to present that information to the user (so that they can inform you when you’re doing wrong) is to apply a general xml stylesheet.
First part of the trick is to tell xml that you intend to output html:
<xsl:output ... method="html" omit-xml-declaration="yes"/>
Next step is to c[...]