[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Output XML to Browser for viewing
Hi, > I'm interested in outputing XML to the browser as HTML for > viewing. I would > like to create indents, give color to nodes and attributes, > and so on. If > I'm getting real fancy, I would be interested in creating > collapsible nodes, > but not a requirement up front. > I know that IE lets you browse an XML document quite nicely, > but that is not > what I am after. I want to kick it out into HTML... if you Actually, both IE and Mozilla use XSLT to turn the input XML document into HTML/XHTML and collapsing nodes is implemented with DOM manipulation via JavaScript. For example, see the comm.jar in Mozilla Firefox, the pretty print stylesheet is XMLPrettyPrint.xsl. Cheers, Jarno - VNV Nation: Fragments (splinter)
|
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
|