how 2 make XML pretty display in browser
Hello List, This is kind of a silly question, but does anyone know if there is anything in xsl which can ensure that an xml file streamed back through an application will display nicely in IE5. You know the kind of display I'm talking about, where you can open and close the nodes and stuff like that. I'm currently sending an XML file back to a client's browser and all the data shows up without the surrounding XML syntax. Its a big long string of numbers. I've tried sending it through an intermediate copier: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml"/> <xsl:template match="/"> <xsl:copy-of select="node()"/> </xsl:template> </xsl:stylesheet> But get the same result. Does anyone know how to force IE to pretty display? Thanks, Alex XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format