Re: XML Woes
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55468
interpreted = N
texte = Daniel,Yes, the XMLParse will parse XML code that includes a reference to a dtd (orschema). However, there are some conditions:If your are parsing explicate XML data that you include between the[XMLParse] tags, then you need to make sure that the DOCTYPE elementcontains a complete URL path to the dtd file. For example:[XMLParse var=xml1]
ToveJaniReminderDon't forget me this weekend![/XMLParse]If you parse XML using a url source, then the XML DOCTYPE element cancontain a relative(or absolute) URL reference to the dtd file. For example:[XMLParsevar=xml1&source=http://localhost/WebCatalog/WebDNALab/lab1/user_files/note.xml][/XMLParse]note.xml contains:
ToveJaniReminderDon't forget me this weekend!and the note.dtd file is located in the same location as the note.xml-----Original Message-----From: Daniel Schutzsmith [mailto:dan@berlinprod.com]Sent: Wednesday, January 14, 2004 10:05 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: XML WoesWhen parsing an XML document, does webdna not allow the xml to use aDTD? This is the error I keep getting.--------------------Fatal Error at fileline: 2column: 44message: An exception occurred! Type:XMLPlatformException,Message:Could not open file: mdtravelhealth.dtdAn unknown error occurred:XMLNodesContainer/Path Not Found:xml_var1--------------------Anyone got a clue?~danDaniel SchutzsmithSenior Web DeveloperBerlin Productions, Inc.dan@berlinprod.com914-683-5759914-683-5751 (fax)http://www.berlinprod.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 toWeb 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:
Daniel,Yes, the XMLParse will parse XML code that includes a reference to a dtd (orschema). However, there are some conditions:If your are parsing explicate XML data that you include between the[xmlparse] tags, then you need to make sure that the DOCTYPE elementcontains a complete URL path to the dtd file. For example:[XMLParse var=xml1]ToveJaniReminderDon't forget me this weekend![/XMLParse]If you parse XML using a url source, then the XML DOCTYPE element cancontain a relative(or absolute) URL reference to the dtd file. For example:[XMLParsevar=xml1&source=http://localhost/WebCatalog/WebDNALab/lab1/user_files/note.xml][/XMLParse]note.xml contains:ToveJaniReminderDon't forget me this weekend!and the note.dtd file is located in the same location as the note.xml-----Original Message-----From: Daniel Schutzsmith [mailto:dan@berlinprod.com]Sent: Wednesday, January 14, 2004 10:05 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: XML WoesWhen parsing an XML document, does webdna not allow the xml to use aDTD? This is the error I keep getting.--------------------Fatal Error at fileline: 2column: 44message: An exception occurred! Type:XMLPlatformException,Message:Could not open file: mdtravelhealth.dtdAn unknown error occurred:XMLNodesContainer/Path Not Found:xml_var1--------------------Anyone got a clue?~danDaniel SchutzsmithSenior Web DeveloperBerlin Productions, Inc.dan@berlinprod.com914-683-5759914-683-5751 (fax)http://www.berlinprod.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 toWeb 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/
"Scott Anderson"
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:
date format (another question) (2000)
Protect and Serve (1999)
[append] vs. [appendfile] delta + question? (1997)
Starting WebCatalog on Linux (2000)
Range Comparisons (2000)
details (2003)
Need Advice for Setting up a Database (1999)
WebCat2_Mac RETURNs in .db (1997)
too many nested [xxx] (1997)
Submit a Form to a Selected URL (2003)
How to search for fields with 10 or more characters? (2004)
[url] (1997)
upgrading (1997)
[WriteFile] problems (1997)
Showing unopened cart (1997)
WC 2.0 frames feature (1997)
WebCatalog2 Feature Feedback (1996)
BUG REPORT -- Refusing connections! (1999)
RE: Re:Signal Raised (1997)
Fwd: Image Pirating [protecting against] (2003)