Subject: RE: [xsl] Output XML to Browser for viewing From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx> Date: Mon, 22 Mar 2004 09:13:57 -0600 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Output XML to Browser for, Jarno.Elovirta | Thread | [xsl] [XSLT 2.0] Creating a changea, Roger L. Costello |
RE: [xsl] comparing 2 childs of 2 , Jarno.Elovirta | Date | RE: [xsl] Recursively removing empt, M. David Peterson |
Month |