xsl-list
[Top] [All Lists]

Re: Pretty-print or replace problem

2003-02-17 04:01:04
Maik Stührenberg wrote:

> I have a huge 'replace' related problem. [...] I tried it with the
> XSLT shown below, but there has to be another way.

XSLT 2 will offer you all the features you need.

Here's a snapshot of my XSLT for marking up XML syntax:
http://www.pinkjuice.com/howto/vimxml/xslt/tinydbk2xhtml/markup_xml.xslt2
(rough draft, URL will change)

Works great with latest Saxon.

Here's some sample output:
http://www.pinkjuice.com/howto/vimxml/tasks.xml
  <code class="elementName">bookinfo</code>
   ...

Tobi

--
http://www.pinkjuice.com/


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>