User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the XML, XSLT and XPATH section within the Software Development category of DaniWeb, a massive community of 391,767 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,226 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our XML, XSLT and XPATH advertiser:
Views: 1479 | Replies: 0 | Solved
Reply
Join Date: Oct 2007
Posts: 1
Reputation: tdhughes is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
tdhughes tdhughes is offline Offline
Newbie Poster

Question vbscript variable within a CDATA node

  #1  
Oct 24th, 2007
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.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb XML, XSLT and XPATH Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the XML, XSLT and XPATH Forum

All times are GMT -4. The time now is 4:27 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC