Re: XML and CDATA
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58884
interpreted = N
texte = The XMLDOMCDATASection object inherits methods and properties from theXMLDOMText object; therefore, you will find the XMLDOMCDATASection object asa child Node of an XMLDOMText object. The parent XMLDOMText object willparse the contents of the CDATA section and return the full element textwithout the brackets.More info can be found here.http://www.topxml.com/xml_dom/node_cdata_section.aspI haven't dug into NODES yet so can't help you there, but I think you canspecify specific SELECT statements in XSLT that might be able to select theNODE_CDATA_SECTION.Hope this helps,Salvatore D'AnnaDotNetNuke Hosting-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of JimLanfordSent: Monday, July 26, 2004 1:17 PMTo: WebDNA TalkSubject: Re: XML and CDATAPut this link into firefox:http://www.washingtonpost.com/wp-srv/technology/rssheadlines.xml Notice that firefox will display the content but ignore any formatingI want the parser to ignore the CDATA, but I do want it in a text variableso I can display it for a RSS feed.so to rephrase my question, how do I get to the stuff between
and Every real-world example I have tried with the WebDNA XML tags does not work all the way.I guessing that no one is using them much for RSS or Amazon.- JimOn Jul 26, 2004, at 3:56 PM, Sal D'Anna wrote:> Just curious why you need the CDATA?>> Any text inside a CDATA section should be ignored by the parser.>> Salvatore D'Anna> DotNetNuke Hosting>>> -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf > Of Jim> Lanford> Sent: Monday, July 26, 2004 9:20 AM> To: WebDNA Talk> Subject: XML and CDATA>> Hi,> Has anyone found out how to grab XML CDATA?> This is from an RSS feed with valid XML>>
> > >>
>> [xmlnodes]> [showif [name]=title]title:[value]
> [/showif]> [/xmlnodes]>> >> In this case [value] is blank.>> [RemoveHTML][value][/RemoveHTML] does not work>> Any ideas?>> - Jim>>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail toWeb Archive of this list is at: http://webdna.smithmicro.com/__________ NOD32 1.822 (20040726) Information __________This message was checked by NOD32 antivirus system.http://www.nod32.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
The XMLDOMCDATASection object inherits methods and properties from theXMLDOMText object; therefore, you will find the XMLDOMCDATASection object asa child Node of an XMLDOMText object. The parent XMLDOMText object willparse the contents of the CDATA section and return the full element textwithout the brackets.More info can be found here.http://www.topxml.com/xml_dom/node_cdata_section.aspI haven't dug into NODES yet so can't help you there, but I think you canspecify specific SELECT statements in XSLT that might be able to select theNODE_CDATA_SECTION.Hope this helps,Salvatore D'AnnaDotNetNuke Hosting-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of JimLanfordSent: Monday, July 26, 2004 1:17 PMTo: WebDNA TalkSubject: Re: XML and CDATAPut this link into firefox:http://www.washingtonpost.com/wp-srv/technology/rssheadlines.xml Notice that firefox will display the content but ignore any formatingI want the parser to ignore the CDATA, but I do want it in a text variableso I can display it for a RSS feed.so to rephrase my question, how do I get to the stuff between and Every real-world example I have tried with the WebDNA XML tags does not work all the way.I guessing that no one is using them much for RSS or Amazon.- JimOn Jul 26, 2004, at 3:56 PM, Sal D'Anna wrote:> Just curious why you need the CDATA?>> Any text inside a CDATA section should be ignored by the parser.>> Salvatore D'Anna> DotNetNuke Hosting>>> -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf > Of Jim> Lanford> Sent: Monday, July 26, 2004 9:20 AM> To: WebDNA Talk> Subject: XML and CDATA>> Hi,> Has anyone found out how to grab XML CDATA?> This is from an RSS feed with valid XML>> > > >> >> [xmlnodes]> [showif [name]=title]title:[value]
> [/showif]> [/xmlnodes]>> >> In this case [value] is blank.>> [removehtml][value][/RemoveHTML] does not work>> Any ideas?>> - Jim>>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail toWeb Archive of this list is at: http://webdna.smithmicro.com/__________ NOD32 1.822 (20040726) Information __________This message was checked by NOD32 antivirus system.http://www.nod32.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
"Sal D'Anna"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Re:no [search] with NT (1997)
Sku numbers (1997)
If Empty ? (1997)
[WriteFile] problems (1997)
Searching,Brain Dead! (1999)
database files in secure folder (1997)
Extended [ConvertChars] (1997)
This list needs a digest: rant, rave... (1997)
PCS Frames (1997)
I've been framed by webcatalog! Does anyone know the way out? (2000)
The IBC root beer has arrived! (1997)
Director 7 (1999)
[OT] PHP?MySQL Help Needed (2003)
Problems passing [SKU] with $Replace in 2.0 (1997)
Emailer errors (1997)
SendMail context not working on CentOS 4 (2007)
WebCat B13 Mac CGI -- Frames question (1997)
[replace] has protection feature like [delete]? (2000)
Cookies (1999)
searches with dash, period etc. (2000)