Subject: [xsl] Question About Translate Function From: floatingisland@xxxxxxx Date: Sun, 27 Nov 2005 14:16:41 -0500 |
Thank for the response, Mr. Kay. Sorry, I didn't format my original e-mail properly, so that's not really the question I intended to ask. Let me try to re-state my original question once more as follows:
Using the XSLT translate function, is there a way to change < to < and > to >. I have an XML document, saved out of Microsoft InfoPath, which changes the XML tags pasted into a text box into a text string of (for example)
<myXmlElementName>myXmlElementText</myXmlElementName> instead of <myXmlElementName>myXmlElementText</myXmlElementName>
I'm using Apache Cocoon Version 2.0.3. This is the translate function that I'm using: <xsl:value-of select="translate(//myXmlElementName, '<', '<')" /> <xsl:value-of select="translate(//myXmlElementName, '>', '>')" />
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Question About Translate , Michael Kay | Thread | Re: [xsl] Question About Translate , Manfred Staudinger |
Re: [xsl] equivalent od #define, David Carlisle | Date | Re: [xsl] Question About Translate , Manfred Staudinger |
Month |