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:

Accented chars and emailer (1998) StoreBuilder help/question... (2000) WebCat2 - [include] tags (1997) Confirming a bug/oddity (2003) Redirect (2000) Frames and WebCat (1997) [WebDNA] Need Help Installing on Linux (2014) Oops, my mistake - (was Bad suffix error) (1997) WebCat editing, SiteGuard & SiteEdit (1997) [ot] Google Optomizations (2004) StoreBuilder Shopping Cart (2000) Mail Integration (1999) [ELSEIF] was hideif [x]=1,2,3..: (2003) Multiple Newcarts (1996) Gettting IPAddress (2001) Not really WebCat- (1997) Search for 20 finds 2000, 200 Why? (1997) OH MY GOD! (1998) NT Manual (1997) Text data with spaces in them... (1997)