[XML-SIG] xsl transforms for displaying XML in a browser

Lloyd Kvam pythonTutor at venix.com
Fri Oct 1 23:12:49 CEST 2004

I did try the lazy route.  The default XML display is just not good
enough.  Pretty printed XML is too cluttered and a simple text extract
just runs on.  Essentially I need to add some labels, blocking, and
breaks into the text stream.  I'll simply write it out.


On Fri, 2004-10-01 at 16:52, Thomas B. Passin wrote:
> Lloyd Kvam wrote:
> > I have a rather complicated (100 tags) XML file that needs to get 
> > displayed sensibly in a browser.  I've started writing the XSL to 
> > transform the document to html.  (CSS is too simple and the XML file 
> > needs to be readable for people without requiring special software.)
> > 
> > Is there a smart way to do this?  I am thinking of writing a python 
> > script to simply generate an XSL file with explicit templates for
> > every tag.  I would then modify this collection of boiler-plate code
> > to get a reasonable layout.
> Well, both Mozilla/Firefox and Internet Explorer already will display
> pretty good pretty-printed versions.  Maybe you don't need to do 
> anything special.
> Cheers,
> Tom P
Lloyd Kvam
Venix Corp

More information about the XML-SIG mailing list