Re: XML Parse with XML WebDNA Syntax...

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58390
interpreted = N
texte = Is the ampersand supposed to be there before path= ? - brian On Jun 14, 2004, at 3:07 PM, Sal D'Anna wrote: > When using the XML Syntax, all refs have to be quoted. > Try this. > > > > > > = > > > Salvatore D'Anna > DotNetNuke Hosting > > > > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of > Roberto A. Berrospe Machin > Sent: Monday, June 14, 2004 10:49 AM > To: WebDNA Talk > Subject: Re: XML Parse with XML WebDNA Syntax... > > Ok, no error, but not content.... > I think this is a DNA bug or something... i try this.... > > file="/scripts/flashdata.xml"> > > = > > > Nothing.. now report this: > > An unknown error occurred: > XMLNode > Container/Path Not Found: > > But when i try this..... > > > [xmlparse var=XMLDoc][include > file="/scripts/flashdata.xml"][/xmlparse] > [xmlnode ref=XMLDoc&path=indexed:1/1] > [name]=[value] > [/xmlnode] > > > The Result is: > > text=tete > > That is the result i want =\ > > If some one see what can be changed to solve that, that can be good.. > thanks > > Grettings... > > Roberto Antonio Berrospe Machin > > Senior Programer / Developer / Server-Lan Manager > Virtual Job Zone Corporation. > New York - United States > http://www.virtualjobzone.com > roberth@virtualjobzone.com > Tel: 1 - 718 576 2210 > > ----- Original Message ----- > From: "Dylan Wood" > To: "WebDNA Talk" > Sent: Monday, June 14, 2004 2:41 PM > Subject: Re: XML Parse with XML WebDNA Syntax... > > >> FYI, I did this and got no parse error: >> >> >> >> tete >> >> >> >> Then, I took the >> >> line of code out of the xml file, then everything parse ok >> >> >> >> On Jun 14, 2004, at 1:25 PM, Dylan Wood wrote: >> >>> Roberto, I tried what bill stated and I run into the same problem >>> >>> >>> On Jun 14, 2004, at 1:18 PM, devaulw@onebox.com wrote: >>> >>>> Does the include need to close with /> >>>> >>>> Bill >>>> >>>> >>>> -----Original Message----- >>>> From: Roberto A. Berrospe Machin >>>> Sent: Mon, 14 Jun 2004 14:04:50 -0300 >>>> To: (WebDNA Talk) >>>> Subject: Re: XML Parse with XML WebDNA Syntax... >>>> >>>> Yes, i have used lots of tags in the xml.. the last is just to make >>>> the xml >>>> very easy to be parsed... In the original, i have another lots of >>>> tags that >>>> i parse with flash as well (perfect).. and i try to use another >>>> parsers and >>>> everything is ok... >>>> :( >>>> >>>> ----- Original Message ----- >>>> From: "Dylan Wood" >>>> To: "WebDNA Talk" >>>> Sent: Monday, June 14, 2004 1:52 PM >>>> Subject: Re: XML Parse with XML WebDNA Syntax... >>>> >>>> >>>>> Is it perhaps your usage of the "" tag? maybe try a >>>>> different >>>>> tag name? Maybe webdna is trying to do something with it because >>>>> of >>>>> the text command? >>>>> >>>>> On Jun 14, 2004, at 11:27 AM, Roberto A. Berrospe Machin wrote: >>>>> >>>>>> Hello everybody.. >>>>>> I'm trying to parse an xml document ussing the WebDNA 5 XML >>>>>> syntax.... >>>>>> this >>>>>> is what im ussing: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> The xml document contain: >>>>>> >>>>>> >>>>>> >>>>>> tete >>>>>> >>>>>> >>>>>> And is under the root/scripts folder. The problem is im obtaining >>>>>> this: >>>>>> >>>>>> Fatal Error at file >>>>>> line: 1 >>>>>> column: 1 >>>>>> message: Invalid document structure >>>>>> >>>>>> >>>>>> Some one can see what i'm doing wrong? >>>>>> >>>>>> Thanks. ------------------------------------------------------------- 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 Parse with XML WebDNA Syntax... ( Brian Fries 2004)
  2. Re: XML Parse with XML WebDNA Syntax... ( "Sal D'Anna" 2004)
  3. Re: XML Parse with XML WebDNA Syntax... ( "Roberto A. Berrospe Machin" 2004)
  4. Re: XML Parse with XML WebDNA Syntax... ( devaulw@onebox.com 2004)
  5. Re: XML Parse with XML WebDNA Syntax... ( "Roberto A. Berrospe Machin" 2004)
  6. Re: XML Parse with XML WebDNA Syntax... ( Dylan Wood 2004)
  7. Re: XML Parse with XML WebDNA Syntax... ( Gary Krockover 2004)
  8. Re: XML Parse with XML WebDNA Syntax... ( Dylan Wood 2004)
  9. Re: XML Parse with XML WebDNA Syntax... ( devaulw@onebox.com 2004)
  10. Re: XML Parse with XML WebDNA Syntax... ( "Roberto A. Berrospe Machin" 2004)
  11. Re: XML Parse with XML WebDNA Syntax... ( Dylan Wood 2004)
  12. XML Parse with XML WebDNA Syntax... ( "Roberto A. Berrospe Machin" 2004)
Is the ampersand supposed to be there before path= ? - brian On Jun 14, 2004, at 3:07 PM, Sal D'Anna wrote: > When using the XML Syntax, all refs have to be quoted. > Try this. > > > > > > = > > > Salvatore D'Anna > DotNetNuke Hosting > > > > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of > Roberto A. Berrospe Machin > Sent: Monday, June 14, 2004 10:49 AM > To: WebDNA Talk > Subject: Re: XML Parse with XML WebDNA Syntax... > > Ok, no error, but not content.... > I think this is a DNA bug or something... i try this.... > > file="/scripts/flashdata.xml"> > > = > > > Nothing.. now report this: > > An unknown error occurred: > XMLNode > Container/Path Not Found: > > But when i try this..... > > > [xmlparse var=XMLDoc][include > file="/scripts/flashdata.xml"][/xmlparse] > [xmlnode ref=XMLDoc&path=indexed:1/1] > [name]=[value] > [/xmlnode] > > > The Result is: > > text=tete > > That is the result i want =\ > > If some one see what can be changed to solve that, that can be good.. > thanks > > Grettings... > > Roberto Antonio Berrospe Machin > > Senior Programer / Developer / Server-Lan Manager > Virtual Job Zone Corporation. > New York - United States > http://www.virtualjobzone.com > roberth@virtualjobzone.com > Tel: 1 - 718 576 2210 > > ----- Original Message ----- > From: "Dylan Wood" > To: "WebDNA Talk" > Sent: Monday, June 14, 2004 2:41 PM > Subject: Re: XML Parse with XML WebDNA Syntax... > > >> FYI, I did this and got no parse error: >> >> >> >> tete >> >> >> >> Then, I took the >> >> line of code out of the xml file, then everything parse ok >> >> >> >> On Jun 14, 2004, at 1:25 PM, Dylan Wood wrote: >> >>> Roberto, I tried what bill stated and I run into the same problem >>> >>> >>> On Jun 14, 2004, at 1:18 PM, devaulw@onebox.com wrote: >>> >>>> Does the include need to close with /> >>>> >>>> Bill >>>> >>>> >>>> -----Original Message----- >>>> From: Roberto A. Berrospe Machin >>>> Sent: Mon, 14 Jun 2004 14:04:50 -0300 >>>> To: (WebDNA Talk) >>>> Subject: Re: XML Parse with XML WebDNA Syntax... >>>> >>>> Yes, i have used lots of tags in the xml.. the last is just to make >>>> the xml >>>> very easy to be parsed... In the original, i have another lots of >>>> tags that >>>> i parse with flash as well (perfect).. and i try to use another >>>> parsers and >>>> everything is ok... >>>> :( >>>> >>>> ----- Original Message ----- >>>> From: "Dylan Wood" >>>> To: "WebDNA Talk" >>>> Sent: Monday, June 14, 2004 1:52 PM >>>> Subject: Re: XML Parse with XML WebDNA Syntax... >>>> >>>> >>>>> Is it perhaps your usage of the "" tag? maybe try a >>>>> different >>>>> tag name? Maybe webdna is trying to do something with it because >>>>> of >>>>> the text command? >>>>> >>>>> On Jun 14, 2004, at 11:27 AM, Roberto A. Berrospe Machin wrote: >>>>> >>>>>> Hello everybody.. >>>>>> I'm trying to parse an xml document ussing the WebDNA 5 XML >>>>>> syntax.... >>>>>> this >>>>>> is what im ussing: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> The xml document contain: >>>>>> >>>>>> >>>>>> >>>>>> tete >>>>>> >>>>>> >>>>>> And is under the root/scripts folder. The problem is im obtaining >>>>>> this: >>>>>> >>>>>> Fatal Error at file >>>>>> line: 1 >>>>>> column: 1 >>>>>> message: Invalid document structure >>>>>> >>>>>> >>>>>> Some one can see what i'm doing wrong? >>>>>> >>>>>> Thanks. ------------------------------------------------------------- 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/ Brian Fries

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:

World Address Info (2003) New Mac Public Beta Available (1997) Tax Moratorium Expiring (2001) can WC render sites out? (1997) # fields limited? (1997) WebDNA vars parsed in FLASH (ActionScript) (2004) Extended [ConvertChars] (1997) Attn: Bug in GeneralStore example b15 (1997) How about this? (1998) wrong input values? (1997) General WebCatalog Questions (1997) What am I doing wrong? (2000) Webmessage Hyperboard (1998) Separate SSL Server (1997) Show if time tags (1997) PSC recommends what date format yr 2000??? (1997) Shipping DB (1999) Old $ commands and migration (2004) New Guestbook Source (1997) Multiple prices (1997)