RE: [xsl] Techniques for transforming content like

Subject: RE: [xsl] Techniques for transforming content like
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 24 Jul 2003 21:29:50 +0100
the recommended solution to this problem is normally to ask the supplier
to fix the input docs not to have the xml quoted.


failing that... several people have posted xsl templates to do a rough
parsing job, or, if you are in a situation where it is supported you can
do <xsl:value-of disable-output-escaping="yes" select="."/>
which will output the < character in that text node as < so appear tio a
subsequent parse as the start of an element.

Or some systems (eg saxon) have extension functions that give you access
to a real xml parser so you can give teh text of teh element to the
extension function and get a node set back.

David

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


Current Thread