Enable the WebDNA programmer to input XML data into a WebDNA variable, after which any part of the XML structure can be readily examined using the new WebDNA XML contexts.
numero = 284[xmlparse var=xml_var1][include file=example1.xml][/xmlparse]
the [include] tag was used to place the xml file contents between the xmlparse tags. We could just as easily 'pasted' the xml contents there as well.
Internally, the WebDNA engine 'saves' this parsed instance as an internal variable named 'xml_var1'. This saved instance can then be referenced in the other WebDNA XML contexts.If the source url in the [xmlparse] context contains an ampersand then you need to [url]...[/url] the 'source' parameter so that any '&' in the query portion of the URL is not interpreted as a WebDNA parameter delimiter.
For example:[xmlparse var=xml_var1&source=[url]http://www.domain.com?parameter1=1¶meter2=2[/url]][/xmlparse][xmlparse var=...&source=...]
[xmlparse var=xml_var1][include file=example1.xml][/xmlparse]
the [include] tag was used to place the xml file contents between the xmlparse tags. We could just as easily 'pasted' the xml contents there as well.
If the source url in the [xmlparse] context contains an ampersand then you need to [url]...[/url] the 'source' parameter so that any '&' in the query portion of the URL is not interpreted as a WebDNA parameter delimiter.
[xmlparse var=xml_var1&source=[url]http://www.domain.com?parameter1=1¶meter2=2[/url]][/xmlparse]
DOWNLOAD WEBDNA NOW!
This Technical Change History provides a reverse chronological list of WebDNA changes...
WebDNA LibrariesA list of available libraries for WebDNA...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
WebDNA ModulesA list of the currently available modules...
[biotype]BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
Tips and TricksA list of user-submitted tips ...
Breaks a string of text into separate words...
[sendmail]There is hardly a website that doesn't at some point need to send an email...
[raw]Displays enclosed text without interpreting the [xxx] tags in any way...
DB encryptionDatabase Automatic Encryption (from WebDNA 8...
[xmlnodesattributes]This context is used to iterate the attributes of a specific XML node...
[xslt]The [xslt] Context allows the WebDNA programmer to 'apply' an XSL style sheet to an XML document and thus 'transform' the XML data into any format the programmer desires (usually HTML)...