[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Output XML to Browser for viewing

Subject: RE: Output XML to Browser for viewing
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Mon, 22 Mar 2004 08:38:13 +0200
xml in browser
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)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.