Note on usage: this is just an XSLT 2.0 stylesheet so you would need to enclose the required command-line (samples provided) in a small script so you could automatically transform the XML source. The output HTML is suitable for reviewing in a browser or if the XML needs further editing it can be copied and pasted into an XML editor of your choiceīecause xmlspectrum.xsl uses its own XML text parser, all content such as entity references and CDATA sections are preserved - as in an editor. I'm mentioning this here because it also has special formatting capabilities for XML: it vertically aligns attributes and their contents as well as elements - to enhance XML readability. Supporting XML - but with special features for XSLT 2.0, XSD 1.1 and XPath 2.0. ![]() ![]() XMLSpectrum is an open source syntax-highlighter.
0 Comments
Leave a Reply. |