954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

vbscript variable within a CDATA node

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.

tdhughes
Newbie Poster
1 post since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You