Re: XML Woes

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55469
interpreted = N
texte = hmm, I tried both of these methods and I am not sure why I can't get it to work. This is the error I get now: -------------------- message: An exception occurred! Type:MalformedURLException, Message:The URL used an unsupported protocol -------------------- This is the code on my page: [xmlparse var=xml_var1&source=http://www.redeyeinteractive.com/feed/ acapulco.xml][/xmlparse] [xmlnodes ref=xml_var1] [name]=[value]
[/xmlnodes] and the top of my xml is: ANY clue as to what I am doing wrong? ~dan On Jan 14, 2004, at 4:01 PM, Scott Anderson wrote: > Daniel, > > Yes, the XMLParse will parse XML code that includes a reference to a > dtd (or > schema). 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 element > contains a complete URL path to the dtd file. For example: > > [XMLParse var=xml1] > "http://localhost/WebCatalog/WebDNALab/lab1/user_files/note.dtd"> > > Tove > Jani > Reminder > Don't forget me this weekend! > [/XMLParse] > > > If you parse XML using a url source, then the XML DOCTYPE element can > contain a relative(or absolute) URL reference to the dtd file. For > example: > > [XMLParse > var=xml1&source=http://localhost/WebCatalog/WebDNALab/lab1/user_files/ > note.x > ml][/XMLParse] > > note.xml contains: > > > > > Tove > Jani > Reminder > Don'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 AM > To: WebDNA-Talk@talk.smithmicro.com > Subject: XML Woes > > > When parsing an XML document, does webdna not allow the xml to use a > DTD? This is the error I keep getting. > > -------------------- > Fatal Error at file > line: 2 > column: 44 > message: An exception occurred! Type:XMLPlatformException, > Message:Could not open file: mdtravelhealth.dtd > An unknown error occurred: > XMLNodes > Container/Path Not Found: > xml_var1 > -------------------- > > Anyone got a clue? > > ~dan > > Daniel Schutzsmith > Senior Web Developer > Berlin Productions, Inc. > dan@berlinprod.com > 914-683-5759 > 914-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 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/ > ------------------------------------------------------------- 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. XML Woes Revisited ( Daniel Schutzsmith 2004)
  2. Re: XML Woes [Hijacked Thread] ( Alan White 2004)
  3. Re: XML Woes [Hijacked Thread] ( "WebDna @ Inkblot Media" 2004)
  4. Re: XML Woes ( Daniel Schutzsmith 2004)
  5. Re: XML Woes [Hijacked Thread] ( Alan White 2004)
  6. Re: XML Woes ( "Scott Anderson" 2004)
  7. Re: XML Woes ( Daniel Schutzsmith 2004)
  8. Re: XML Woes ( "Dan Strong" 2004)
  9. Re: XML Woes ( Daniel Schutzsmith 2004)
  10. Re: XML Woes ( "Scott Anderson" 2004)
  11. XML Woes ( Daniel Schutzsmith 2004)
hmm, I tried both of these methods and I am not sure why I can't get it to work. This is the error I get now: -------------------- message: An exception occurred! Type:MalformedURLException, Message:The URL used an unsupported protocol -------------------- This is the code on my page: [xmlparse var=xml_var1&source=http://www.redeyeinteractive.com/feed/ acapulco.xml][/xmlparse] [xmlnodes ref=xml_var1] [name]=[value]
[/xmlnodes] and the top of my xml is: ANY clue as to what I am doing wrong? ~dan On Jan 14, 2004, at 4:01 PM, Scott Anderson wrote: > Daniel, > > Yes, the XMLParse will parse XML code that includes a reference to a > dtd (or > schema). 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 element > contains a complete URL path to the dtd file. For example: > > [XMLParse var=xml1] > "http://localhost/WebCatalog/WebDNALab/lab1/user_files/note.dtd"> > > Tove > Jani > Reminder > Don't forget me this weekend! > [/XMLParse] > > > If you parse XML using a url source, then the XML DOCTYPE element can > contain a relative(or absolute) URL reference to the dtd file. For > example: > > [XMLParse > var=xml1&source=http://localhost/WebCatalog/WebDNALab/lab1/user_files/ > note.x > ml][/XMLParse] > > note.xml contains: > > > > > Tove > Jani > Reminder > Don'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 AM > To: WebDNA-Talk@talk.smithmicro.com > Subject: XML Woes > > > When parsing an XML document, does webdna not allow the xml to use a > DTD? This is the error I keep getting. > > -------------------- > Fatal Error at file > line: 2 > column: 44 > message: An exception occurred! Type:XMLPlatformException, > Message:Could not open file: mdtravelhealth.dtd > An unknown error occurred: > XMLNodes > Container/Path Not Found: > xml_var1 > -------------------- > > Anyone got a clue? > > ~dan > > Daniel Schutzsmith > Senior Web Developer > Berlin Productions, Inc. > dan@berlinprod.com > 914-683-5759 > 914-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 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/ > ------------------------------------------------------------- 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/ Daniel Schutzsmith

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:

AutoCommit Preference? (1998) [WebDNA] Sort Direction matches the written to file order (2015) Re:[WebDNA] Mac OS X LION has no FastCGI (2011) RE: [redirect] w/o showing args? (1999) WebDNA Solutions ... (1997) Pass a form (2003) Linux Beta4 problems with multirecord returns (2000) Cold Fusion Buster (1997) Separate SSL Server (1997) Can't use old cart file (was One more try) (1997) E-mailer error codes (1997) [WebDNA] API Integration (2010) Kaaaaahhhhhhhnnnnnnn! (1997) BR (1997) Displaying photo attached to first record (1997) [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) Cart # Starting at 1000 (2000) Help! WebCat2 bug (1997) Bug Report, maybe (1997) Webcat2, WebCommerce, Mod 10 etc. (1997)