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

Thomas B. Passin tpassin at comcast.net
Fri Oct 1 22:52:19 CEST 2004


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

-- 
Thomas B. Passin
Explorer's Guide to the Semantic Web (Manning Books)
http://www.manning.com/catalog/view.php?book=passin


More information about the XML-SIG mailing list