tdhughes 0 Newbie Poster

Howdy,

I need to pull database information into an XML defined form. One of the db fields has to be contained in a CDATA node.

This line of code returns data, no errors

<HTMLCONTENT type="html" width="400"><![CDATA[<body><p>]]><%=aContent%><![CDATA[</p></body>]]></HTMLCONTENT>

It works until I try to use it within an application which uses XML defined forms. I believe that the aContent variable really has to be contained within CDATA. [CDATA[variable]], not [CDATA] variable [CDATA].

After much searching, I get the impression I can use xsl:param to pass the info, but I don't know how to do that.

Thanks in advance. Any hints or help is very much appreciated.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.