Subject: RE: Encountered end of file..... From: "Robert C. Lyons" <boblyons@xxxxxxxxxx> Date: Wed, 9 Aug 2000 17:02:51 -0400 |
shelly nippard wrote: > I'm getting the following error: > > Encountered end of file while searching for ";" > > on this line in my code: > <a > href="http://wwwapps.ups.com/etracking/tracking.cgi?tracknums_ > displayed=&Typ > eOfInquiryNumber=T&HTMLVersion=4.0&InquiryNumber1={$trackNum}& > track.x=22&tra > ck.y=10"> > <xsl:value-of select="$trackNum"/> > </a> > > does anyone know what this means? Shelly, The XML parser in your your XSLT processor is interpretting the first ampersand in your code as the beginning of an entity reference. An entity reference begins with an ampersand and ends with a semicolon. The XML parser looked for a semicolon after the first ampersand and it never found one. The solution is to replace each literal ampersand in your code with "&". For example: <a> href="http://wwwapps.ups.com/etracking/tracking.cgi?tracknums_displayed=& ;TypeOfInquiryNumber=T&HTMLVersion=4.0&InquiryNumber1={$trackNum}&am p;track.x=22&track.y=10"> Hope this helps. Bob ------ Bob Lyons E-Commerce Consultant Unidex, Inc. 1-732-975-9877 boblyons@xxxxxxxxxx http://www.unidex.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Encountered end of file....., Shelly Nippard | Thread | Measuring performance, Joe Ortiz |
Re: <BR> a problem for XALAN?, John Robert Gardner | Date | RE: Multiple Rows in a Table / Same, Matthew Bentley |
Month |