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 the XMLDOMText object; therefore, you will find the XMLDOMCDATASection object as a child Node of an XMLDOMText object. The parent XMLDOMText object will parse the contents of the CDATA section and return the full element text without the brackets. More info can be found here. http://www.topxml.com/xml_dom/node_cdata_section.asp I haven't dug into NODES yet so can't help you there, but I think you can specify specific SELECT statements in XSLT that might be able to select the NODE_CDATA_SECTION. Hope this helps, 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 1:17 PM To: WebDNA Talk Subject: Re: XML and CDATA Put this link into firefox: http://www.washingtonpost.com/wp-srv/technology/rssheadlines.xml Notice that firefox will display the content but ignore any formating I want the parser to ignore the CDATA, but I do want it in a text variable so 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. - Jim On 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 > > > <![CDATA[In a Wireless World, Hearing Is Believing]]> > > > > > [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 to Web 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:

    
  1. Re: XML and CDATA ( Jim Lanford 2004)
  2. Re: XML and CDATA ( "Sal D'Anna" 2004)
  3. Re: XML and CDATA ( Jim Lanford 2004)
  4. Re: XML and CDATA ( "Sal D'Anna" 2004)
  5. XML and CDATA ( Jim Lanford 2004)
The XMLDOMCDATASection object inherits methods and properties from the XMLDOMText object; therefore, you will find the XMLDOMCDATASection object as a child Node of an XMLDOMText object. The parent XMLDOMText object will parse the contents of the CDATA section and return the full element text without the brackets. More info can be found here. http://www.topxml.com/xml_dom/node_cdata_section.asp I haven't dug into NODES yet so can't help you there, but I think you can specify specific SELECT statements in XSLT that might be able to select the NODE_CDATA_SECTION. Hope this helps, 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 1:17 PM To: WebDNA Talk Subject: Re: XML and CDATA Put this link into firefox: http://www.washingtonpost.com/wp-srv/technology/rssheadlines.xml Notice that firefox will display the content but ignore any formating I want the parser to ignore the CDATA, but I do want it in a text variable so 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. - Jim On 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 > > > <![CDATA[In a Wireless World, Hearing Is Believing]]> > > > > > [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 to Web 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:

Lookup within a Search (2005) PSC recommends what date format yr 2000??? (1997) Date Formats (1997) Ram usage (1999) FORMS: Returning a specific page (1997) Help formatting search results w/ table (1997) Webcat/javascript interactive pulldowns Q (2002) RE: Redirect (1998) Translation Considerations with DNA (2005) Re:ListFields and [name] (1997) An easy one (1999) Database Security (1998) Grep Question (2003) authorizenet and netscape (2002) [protect] on NT? (1997) Error: Permision deny. (2005) PIXO (1997) Local redirects ... (2005) Looping control (1997) Next (1997)