[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Encountered end of file.....
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|