W3C home > Mailing lists > Public > www-archive@w3.org > February 2003

xslt idea: namespace-coloured XML prettyprinter?

From: Dan Brickley <danbri@w3.org>
Date: Mon, 24 Feb 2003 08:17:57 -0500
To: mf@w3.org
Cc: www-archive@w3.org, libby.miller@bris.ac.uk
Message-ID: <20030224131757.GD25055@tux.w3.org>

Max,

Would it be possible to implement the following using XSLT?
Input: arbitrary XML+namespaces content
Output: XHTML embedding entity-escaped <pre>'d version of the content,
 with each namespace tagged using class="ns1" or similar, and styled in 
 different colours using CSS. For example see
 the 2nd example in http://web.resource.org/rss/1.0/spec#s7

This would be handy for folk documenting multi-namespace RDF apps, amongst
other things.

Just a thought. I'm not sure this is do-able in XSLT though...

Dan
Received on Monday, 24 February 2003 08:18:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 July 2008 08:08:50 GMT