Subject: Re: [xsl] Transforming an XML structure into a string From: Ben Senior <ben@xxxxxxxxxxxxx> Date: Tue, 11 Apr 2006 16:15:44 +0200 |
*bang* *bang* *bang* goes my head against the desk.
We are passing a fragment of XML into a template as a param.
In this case the XML fragments look something like : <call function="analogous">base_colour=<value target_id="base_colour"/>,choice=1</call>
We are aiming to store this string in the value attribute of a html hidden input form so we would like to map all angular brackets to their < > equivalents, and & to & etc.
String functions like translate or substring work on the text node parts (like "base_colour=" and "choice=1") but do not process the nodes like <call or <value.
Can we do a "toString" on this XML fragment or are we approaching this the wrong way around...
Many thanks for you time,
B&A
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Transforming an XML structure, Ben Senior | Thread | Re: [xsl] Transforming an XML struc, Wendell Piez |
[xsl] Transforming an XML structure, Ben Senior | Date | Re: [xsl] question regarding the fo, David Carlisle |
Month |