Subject: Re: Identify transform with disabled output escaping
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 15 Nov 2006 21:27:33 GMT
|
> However I did not describe the problem properly. I would not like to DOE
> on text, but on the elements. So for this:
No, you don't have any elements, just text, that's the problem that you
are trying to hide by using d-o-e. You just have a single text node with
a string that contains XML markup, rather than a tree of element nodes.
<a class=l href="http://www.lixto.com/"><b>Lixto</b> Software GmbH
Home</a>
Your input can not be of that form it must be
<a class=l href="http://www.lixto.com/"><b>Lixto</b> Software GmbH
Home</a>
or equivalently
<![CDATA[<a class=l href="http://www.lixto.com/"><b>Lixto</b> Software GmbH Home</a>]]>
So by default that is the form you ar seeing in the result.
David
| Current Thread |
|
Michael Kay - 15 Nov 2006 17:56:53 -0000
|
|