on 09-27-2006 3:54 PM
Hi Everybody,
I have to pass a xml string to a single element. I have decided to send it as CDATA. But could you pls guide me through the steps that i need to take to implement CDATA mapping.
ie where do i write this code?
what format should it have?
Do i have to make a jar file of some sort?
Regards,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Mickael for your prompt reply. However could you tell how to actually implement this. Ie.
Where should I write this code:
<?xml version='1.0' ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:p2="http://frik.bcc.com.pl">
<xsl:template match="/">
<p2:inside xmlns:p2="http://frik.bcc.com.pl">
<name>
<xsl:text disable-output-escaping="yes"><![CDATA[<![CDATA[]]></xsl:text>
<xsl:copy-of select="p2:outside/name"/>
<xsl:text disable-output-escaping="yes"><![CDATA[]]]]></xsl:text>
<xsl:text disable-output-escaping="yes"><![CDATA[>]]></xsl:text>
</name>
</p2:inside>
</xsl:template>
</xsl:stylesheet>
as given by Michael.
Do i need to import it as external defination?
Regards,
Ashish
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.