Re: XML and CDATA

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58890
interpreted = N
texte = Sal, Stupid question... Where is XMLDOMCDATA in the WebDNA info? My 6.0 stuff only covers: [XMLNode] [XMLNodes] [XMLNodesAttributes] [XMLParse] [XSL] [XSLT] I did notice that [xmlnodes] [url][content][/url] [/xmlnodes] does show the raw data. So if I want to continue with WebDNA I could grep the data to extract what I want. It kind of defeats the purpose of the other tools IMHO. - Jim On Jul 26, 2004, at 5:23 PM, Sal D'Anna wrote: > 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/ > ------------------------------------------------------------- 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)
Sal, Stupid question... Where is XMLDOMCDATA in the WebDNA info? My 6.0 stuff only covers: [xmlnode] [xmlnodes] [xmlnodesattributes] [xmlparse] [xsl] [xslt] I did notice that [xmlnodes] [url][content][/url] [/xmlnodes] does show the raw data. So if I want to continue with WebDNA I could grep the data to extract what I want. It kind of defeats the purpose of the other tools IMHO. - Jim On Jul 26, 2004, at 5:23 PM, Sal D'Anna wrote: > 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/ > ------------------------------------------------------------- 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/ Jim Lanford

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:

Exclude by date - multiple (1997) Multihoming and webcat (1998) $Replace with [founditems] (1997) Re(2): NT version and O'reily's WebSite (1997) Error Log.db --however (1997) Nested search index (2000) redirect with frames (1997) Encrypt Users.db problem (1998) emailer (1998) ImageMap (1997) [WebDNA] WebDNA Hosts (2009) Lost Records in Database (2001) Sendmail truncation in Eudora Clients (1998) [WriteFile] problems (1997) No Answer on Web Merchant Problem? (2001) special commerce fields (1997) autosensing lanague selection (1997) Adding up line items. (2000) Easiest way to check for a non-alphanumeric character (part II) ? (2000) Feature Request: Autonumber adendum (2004)