Re: [xsl] Pretty-print or replace problem

Subject: Re: [xsl] Pretty-print or replace problem
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Mon, 17 Feb 2003 12:01:04 +0100
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



Current Thread