[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: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Mon, 22 Mar 2004 09:13:57 -0600
show xml in browser
Hi Karl,

<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 know what I
mean./>

I'm using an XSL Stylesheet to show XML output in HTML format from an XQuery
Expression Tester written in C#.NET. It does what you want, except for the
collapsible part. The stylesheet isn't written by me, but by Jason Patterson
and he's published it on topxml.com quite a while ago:

http://www.topxml.com/snippetcentral/main.asp?view=viewsnippet&lang=&id=v200
10305161458

It may very well be something similar as what Ricaud posted, but anyway I
wanted to share this useful stylesheet.

HTH, 
Pieter Siegers
http://www.pietsieg.com

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.