What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] CDATA in XML = blank value

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112542
interpreted = N
texte = 110 Michael, Hi - came up against this problem recently. You need to use xslt - or else abandon xml parsing altogether and use other m= ethods - listwords / middle etc. I'm on a few days away right now but will post code when I can. I originall= y got the code from the talk list so it should be in the archives. - Tom Sent from my iPhone > On 3 Dec 2015, at 6:22 p.m., Michael Davis wrote: >=20 > This isn't working either. I am pulling the XML from a file with an inclu= de, so doing effectively the same thing using: >=20 > [xmlparse var=3Dxml_var1][include file=3Dtest.xml&raw=3DT][/xmlparse] >=20 > Thanks, > Mike >=20 >=20 >> On Dec 3, 2015, at 1:19 PM, Donovan Brooke wrote: >>=20 >> [raw] >> >> =20 >> >> >> >> >> [/raw] >>=20 >>=20 >>=20 >>=20 >>> On Dec 3, 2015, at 5:01 AM, Michael Davis wrote: >>>=20 >>> Not sure if this has been discussed previously, but I have XML that has n= ode values encapsulated in CDATA containers, presumably to keep the XML vali= d. The values are typed in by hand on an input form and so are vulnerable t= o illegal characters. The WebDNA parser is ignoring the value of the node. I= can't get any value from the [value] context. Example of the offending XML= : >>>=20 >>> >>> =20 >>> >>> >>> >>> >>>=20 >>> [xmlnodes][name]=3D[value]
[/xmlnodes] >>>=20 >>> question=3D >>> answer=3D >>>=20 >>>=20 >>> Any suggestions? >>>=20 >>>=20 >>> Thanks, >>> Mike >>> --------------------------------------------------------- This message i= s sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Report= ing: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] CDATA in XML = blank value (Tom Duke 2015)
  2. Re: [WebDNA] CDATA in XML = blank value (Michael Davis 2015)
  3. Re: [WebDNA] CDATA in XML = blank value (Michael Davis 2015)
  4. Re: [WebDNA] CDATA in XML = blank value (Donovan Brooke 2015)
  5. Re: [WebDNA] CDATA in XML = blank value (Stuart Tremain 2015)
  6. [WebDNA] CDATA in XML = blank value (Michael Davis 2015)
110 Michael, Hi - came up against this problem recently. You need to use xslt - or else abandon xml parsing altogether and use other m= ethods - listwords / middle etc. I'm on a few days away right now but will post code when I can. I originall= y got the code from the Talk List so it should be in the archives. - Tom Sent from my iPhone > On 3 Dec 2015, at 6:22 p.m., Michael Davis wrote: >=20 > This isn't working either. I am pulling the XML from a file with an inclu= de, so doing effectively the same thing using: >=20 > [xmlparse var=3Dxml_var1][include file=3Dtest.xml&raw=3DT][/xmlparse] >=20 > Thanks, > Mike >=20 >=20 >> On Dec 3, 2015, at 1:19 PM, Donovan Brooke wrote: >>=20 >> [raw] >> >> =20 >> >> >> >> >> [/raw] >>=20 >>=20 >>=20 >>=20 >>> On Dec 3, 2015, at 5:01 AM, Michael Davis wrote: >>>=20 >>> Not sure if this has been discussed previously, but I have XML that has n= ode values encapsulated in CDATA containers, presumably to keep the XML vali= d. The values are typed in by hand on an input form and so are vulnerable t= o illegal characters. The WebDNA parser is ignoring the value of the node. I= can't get any value from the [value] context. Example of the offending XML= : >>>=20 >>> >>> =20 >>> >>> >>> >>> >>>=20 >>> [xmlnodes][name]=3D[value]
[/xmlnodes] >>>=20 >>> question=3D >>> answer=3D >>>=20 >>>=20 >>> Any suggestions? >>>=20 >>>=20 >>> Thanks, >>> Mike >>> --------------------------------------------------------- This message i= s sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Report= ing: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Tom Duke

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:

unix permissions for 4.0 (2000) Am I going senile? (Price recalc based on quantity) (1997) Which beta for w* 4.1 and a problem w/b12 (1999) Re:listfiles-looking for slick solution (1997) Suggestion: appendfounditems (2002) Grant, please help me ... (1997) MOOOOOO (2000) Not Authorised Adding Items (1998) credit card (1997) Enhancement Request for WebCatalog-NT (1996) Re2: frames & carts (1997) Great product and great job ! (1997) Logging purchases (1997) The max=0 issue is a bug ... CALL TO ACTION (2000) Summing a field full of numbers ... (1997) WebDNA Forum(s) should = GUI (2002) .FBCLockFolder messin' things up.... (2001) showif... (2000) Textarea Breaks (2000) How to get shownext to just shownext once (1997)