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:

[returnraw] and form variables (1998) removing programming logic white space (2003) HELP WITH DATES (1997) Looking up two prices in database? (1997) Where has WebDNA shown up in your life? (2003) update on wn searching (1997) a * question (2003) [OT] Airport Problem (2003) Location of Webcat site in folder hierarchy (1997) form ENCTYPE confusion (2003) WebCat2b13MacPlugIn - syntax to convert date (1997) Protecting Realms (1998) Authorize.Net (2003) What is the syntax for MIME type on Apache server? (2000) security (1997) looping through the headers of an orderfile (2000) Thanks Grant (1997) Size limit for tmpl editor ? (1997) TRAINING videos - Prove IT. (1998) Last desperate attempt (1998)