Re: XML Syntax, Cookies and Variables....
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58420
interpreted = N
texte = Hi there,I have asked Scott some questions about XMl synatx some time ago and hisreplies are attached. Maybe it helps someone:>> How do I call a function? I guess
or?> Correct. For example:> > > >=20> >=20>=20>=20>> How to set a text variable correctly? After trying for 2 hours I figured= that>> this works:> myvar=3D"1".> That is correct.>=20>=20>> Does the if tag needs to have expr=3D within the and so on.> Yes. But this does get messy because you have to escape any embedded quo=tes> in the expression string.> For example:> name=3D"SMSI">=20> \"=3D\"SMSI\"">> > SMSI found!
> > > SMSI not found!
> > Nitai--=20Tools to energize your businessWeb Content Management =ABRedakto=BB & eBusiness SystemsComputerOil=AE AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.com> From: > Reply-To: "(WebDNA Talk)" > Date: Tue, 15 Jun 2004 11:38:00 -0400> To: "(WebDNA Talk)" > Subject: Re: XML Syntax, Cookies and Variables....>=20> I'm not sure, but this sounds like XML syntax is broken. Can SMSI let th=e> list know if these are truly bugs? I had thought about using XML syntax =when> updating one of my projects but now I can't even consider it.>=20> It also seems like we will need to deal with quotes in our variable or us=er> entered text as well as the ampersand & to avoid early tag termination an=d/or> other unexpected behavior.>=20> Is that right?>=20> Bill> -----Original Message-----> From: Dylan Wood > Sent: Tue, 15 Jun 2004 11:18:22 -0400> To: (WebDNA Talk)> Subject: Re: XML Syntax, Cookies and Variables....>=20> Roberto->=20> You should add that to the webdna 6.0 reference at:>=20> http://webdna.smithmicro.com/ref/index.html>=20> If you go to the setcookie and text sections, you can add a user> contributed note at the bottom of the page.>=20>=20> On Jun 15, 2004, at 11:13 AM, Roberto A. Berrospe Machin wrote:>=20>> Hello List.>> I have solved another little problem...>>=20>> I have this:>>=20>> testcookie=3D> name=3D"test">>> >>=20>>=20>> This does not work... and this does not work too...>>=20>> testcookie=3Dthis is a test>> >>=20>> But if i quote the text, then the variable is set fine....>>=20>> testcookie=3D"this is a test">> >>=20>> There the result is (this is a test), but here is the main problem; if>> i try>> to quote the getcookie, the variable isnot set... i try with...>>=20>> testcookie=3D"> name=3Dtest>">> >>=20>> With no result, And...>>=20>> testcookie=3D"> name=3D\"test\">">> >>=20>> With no result too... The same no result with..>>=20>> testcookie=3D> name=3D"test">>> >>=20>>=20>> But testing and testing, i find that the next code works fine...>>=20>> testcookie=3D"> name=3D"test">">> >>=20>> That about the quotes is not so good in the syntax.... Works anyway..>> but...>> =3D)>>=20>>=20>> Thanks....>>=20>> Roberto Antonio Berrospe Machin>>=20>> 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>>=20>>=20>> --->> Outgoing mail is certified Virus Free.>> Checked by AVG anti-virus system (http://www.grisoft.com).>> Version: 6.0.704 / Virus Database: 460 - Release Date: 12/06/2004>>=20>>=20>> ------------------------------------------------------------->> 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/>>=20>=20>=20> -------------------------------------------------------------> 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/>=20>=20>=20> -------------------------------------------------------------> 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/>=20-------------------------------------------------------------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:
|
- Re: XML Syntax, Cookies and Variables.... ( devaulw@onebox.com 2004)
- Re: XML Syntax, Cookies and Variables.... ( Dylan Wood 2004)
- Re: XML Syntax, Cookies and Variables.... ( "Roberto A. Berrospe Machin" 2004)
- Re: XML Syntax, Cookies and Variables.... ( "Scott Anderson" 2004)
- Re: XML Syntax, Cookies and Variables.... ( "Roberto A. Berrospe Machin" 2004)
- Re: XML Syntax, Cookies and Variables.... ( "Sal D'Anna" 2004)
- Re: XML Syntax, Cookies and Variables.... ( "Nitai @ ComputerOil" 2004)
- Re: XML Syntax, Cookies and Variables.... ( devaulw@onebox.com 2004)
- Re: XML Syntax, Cookies and Variables.... ( Dylan Wood 2004)
- XML Syntax, Cookies and Variables.... ( "Roberto A. Berrospe Machin" 2004)
|
Hi there,I have asked Scott some questions about XMl synatx some time ago and hisreplies are attached. Maybe it helps someone:>> How do I call a function? I guess or?> Correct. For example:> > > >=20> >=20>=20>=20>> How to set a text variable correctly? After trying for 2 hours I figured= that>> this works:> myvar=3D"1".> That is correct.>=20>=20>> Does the if tag needs to have expr=3D within the and so on.> Yes. But this does get messy because you have to escape any embedded quo=tes> in the expression string.> For example:> name=3D"SMSI">=20> \"=3D\"SMSI\"">> > SMSI found!
> > > SMSI not found!
> > Nitai--=20Tools to energize your businessWeb Content Management =ABRedakto=BB & eBusiness SystemsComputerOil=AE AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.com> From: > Reply-To: "(WebDNA Talk)" > Date: Tue, 15 Jun 2004 11:38:00 -0400> To: "(WebDNA Talk)" > Subject: Re: XML Syntax, Cookies and Variables....>=20> I'm not sure, but this sounds like XML syntax is broken. Can SMSI let th=e> list know if these are truly bugs? I had thought about using XML syntax =when> updating one of my projects but now I can't even consider it.>=20> It also seems like we will need to deal with quotes in our variable or us=er> entered text as well as the ampersand & to avoid early tag termination an=d/or> other unexpected behavior.>=20> Is that right?>=20> Bill> -----Original Message-----> From: Dylan Wood > Sent: Tue, 15 Jun 2004 11:18:22 -0400> To: (WebDNA Talk)> Subject: Re: XML Syntax, Cookies and Variables....>=20> Roberto->=20> You should add that to the webdna 6.0 reference at:>=20> http://webdna.smithmicro.com/ref/index.html>=20> If you go to the setcookie and text sections, you can add a user> contributed note at the bottom of the page.>=20>=20> On Jun 15, 2004, at 11:13 AM, Roberto A. Berrospe Machin wrote:>=20>> Hello List.>> I have solved another little problem...>>=20>> I have this:>>=20>> testcookie=3D> name=3D"test">>> >>=20>>=20>> This does not work... and this does not work too...>>=20>> testcookie=3Dthis is a test>> >>=20>> But if i quote the text, then the variable is set fine....>>=20>> testcookie=3D"this is a test">> >>=20>> There the result is (this is a test), but here is the main problem; if>> i try>> to quote the getcookie, the variable isnot set... i try with...>>=20>> testcookie=3D"> name=3Dtest>">> >>=20>> With no result, And...>>=20>> testcookie=3D"> name=3D\"test\">">> >>=20>> With no result too... The same no result with..>>=20>> testcookie=3D> name=3D"test">>> >>=20>>=20>> But testing and testing, i find that the next code works fine...>>=20>> testcookie=3D"> name=3D"test">">> >>=20>> That about the quotes is not so good in the syntax.... Works anyway..>> but...>> =3D)>>=20>>=20>> Thanks....>>=20>> Roberto Antonio Berrospe Machin>>=20>> 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>>=20>>=20>> --->> Outgoing mail is certified Virus Free.>> Checked by AVG anti-virus system (http://www.grisoft.com).>> Version: 6.0.704 / Virus Database: 460 - Release Date: 12/06/2004>>=20>>=20>> ------------------------------------------------------------->> 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/>>=20>=20>=20> -------------------------------------------------------------> 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/>=20>=20>=20> -------------------------------------------------------------> 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/>=20-------------------------------------------------------------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/
"Nitai @ ComputerOil"
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:
[WebDNA] Digest (2008)
html in a database (1998)
Include a big block of text (1997)
WebCatalog2 for NT Beta Request (1997)
Re[3]: 2nd WebCatalog2 Feature Request (1996)
Header values are not accepted (1998)
Number/Date Range Search (2003)
I'm tired of all this! (2000)
problem serving foreign languages text (1997)
WebCat Admin access w/ClearlyHome p.i. (1997)
SHOWNEXT (1999)
Email Not Being Sent (2004)
getting images' width/height (1998)
Error 11 (1996)
Help formatting search results w/ table (1997)
Passing Variable (was How to add product size) (1997)
Sort Order on a page search (1997)
What am I missing? (1998)
The Guru Speaks (1998)
problems with 2 tags (1997)