Re: Ampersand in XHTML Code - Not Valid

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62096
interpreted = N
texte = Nevermind. I was hardcoding the & into a static link. When I hardcoded the & into the static link, the browser translated it to a simple &. Thanks Regards, Ki Song ---------- Knifecenter, Inc. 5111 Berwyn Road STE 110 College Park, MD 20740 (301) 486-0901 ki@knifecenter.com > From: Ki Il Song > Reply-To: "WebDNA Talk" > Date: Thu, 02 Jun 2005 09:43:40 -0400 > To: "WebDNA Talk" > Subject: Re: Ampersand in XHTML Code - Not Valid > > Here is sample url generated by WebDNA: > > http://www.knifecenter.com/kc_new/store_store.html?ttl=Assisted%20openers&sr > ch=woDESCRIPTIONdatarq%3Dassisted > > The & before the srch is causing the XHTML validator to not validate > properly. > > I tried replacing the & with a & but then the search would not work > properly. > > Regards, > Ki Song > > ---------- > Knifecenter, Inc. > 5111 Berwyn Road STE 110 > College Park, MD 20740 > (301) 486-0901 > ki@knifecenter.com > >> From: Clint Davis >> Reply-To: "WebDNA Talk" >> Date: Wed, 01 Jun 2005 18:16:17 -0500 >> To: "WebDNA Talk" >> Subject: Re: Ampersand in XHTML Code - Not Valid >> >> Actually, XHTML dictates that you use & rather than a regular ampersand. >> So, to use Stuart's example: >> >> page.html?srch=one&field1=two&field2=three >> >> >> On 6/1/05 5:25 PM, "Stuart Tremain" wrote: >> >>> Try >>> >>> page.html?srch= >>> >>> >>> You must use a ? after the file extension (.html, .tpl or whatever you >>> use), the subsequent commands are separated by a & >>> >>> page.html?srch=one&field1=two&field2=three >>> >>> >>>> the WebDNA code &srch= is not validating because of the ampersand. I >>>> tried >>>> using & to replace it, but it does not work. >>>> >>>> How can I make this link XHTML valid? >> >> >> >> >> ------------------------------------------------------------- >> 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. Re: Ampersand in XHTML Code - Not Valid ( Jesse Proudman 2005)
  2. Re: Ampersand in XHTML Code - Not Valid ( Ki Il Song 2005)
  3. Re: Ampersand in XHTML Code - Not Valid ( Ki Il Song 2005)
  4. Re: Ampersand in XHTML Code - Not Valid ( Clint Davis 2005)
  5. Re: Ampersand in XHTML Code - Not Valid ( Stuart Tremain 2005)
  6. Ampersand in XHTML Code - Not Valid ( Ki Il Song 2005)
Nevermind. I was hardcoding the & into a static link. When I hardcoded the & into the static link, the browser translated it to a simple &. Thanks Regards, Ki Song ---------- Knifecenter, Inc. 5111 Berwyn Road STE 110 College Park, MD 20740 (301) 486-0901 ki@knifecenter.com > From: Ki Il Song > Reply-To: "WebDNA Talk" > Date: Thu, 02 Jun 2005 09:43:40 -0400 > To: "WebDNA Talk" > Subject: Re: Ampersand in XHTML Code - Not Valid > > Here is sample url generated by WebDNA: > > http://www.knifecenter.com/kc_new/store_store.html?ttl=Assisted%20openers&sr > ch=woDESCRIPTIONdatarq%3Dassisted > > The & before the srch is causing the XHTML validator to not validate > properly. > > I tried replacing the & with a & but then the search would not work > properly. > > Regards, > Ki Song > > ---------- > Knifecenter, Inc. > 5111 Berwyn Road STE 110 > College Park, MD 20740 > (301) 486-0901 > ki@knifecenter.com > >> From: Clint Davis >> Reply-To: "WebDNA Talk" >> Date: Wed, 01 Jun 2005 18:16:17 -0500 >> To: "WebDNA Talk" >> Subject: Re: Ampersand in XHTML Code - Not Valid >> >> Actually, XHTML dictates that you use & rather than a regular ampersand. >> So, to use Stuart's example: >> >> page.html?srch=one&field1=two&field2=three >> >> >> On 6/1/05 5:25 PM, "Stuart Tremain" wrote: >> >>> Try >>> >>> page.html?srch= >>> >>> >>> You must use a ? after the file extension (.html, .tpl or whatever you >>> use), the subsequent commands are separated by a & >>> >>> page.html?srch=one&field1=two&field2=three >>> >>> >>>> the WebDNA code &srch= is not validating because of the ampersand. I >>>> tried >>>> using & to replace it, but it does not work. >>>> >>>> How can I make this link XHTML valid? >> >> >> >> >> ------------------------------------------------------------- >> 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/ Ki Il Song

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] SiteBuilder Calendar (2008) [TaxableTotal] - not working with AOL and IE (1997) search command (1999) Other tags inside the founditems context? (1998) [WebDNA] Two stores one db (2011) Nested vs conditional (1997) OK, here goes... (1997) Locking up with WebCatalog... (1997) authorizenet and netscape (2002) Parsing overhead for commenting out line endings (2003) Credit Card processing (1998) WebCat NT v. Mac (1997) I'm new be kind (1997) Break out of a loop? (2000) select multiple (1997) Emailer choke (1997) Anomaly ? causes NT application event log to overflow (1997) WebCatalog 2.1b4/Mac available (1997) Multiple Ad databases? (1997) HELP WITH DATES (1997)