[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl and url parameter strings
David, Thanks for your reply. Using & does not work either. Here is the actual code fragment with & <!-- begin body row --> <xsl:for-each select="USER"> <element-row> <element-column><xsl:value-of select="@NAME"/></element-column> <element-column align="center"> <element-link title="Edit"> <xsl:attribute name="href">/webcv/system/usermanager/?a=0&u=<xsl:value-of select="@ID"/></xsl:attribute> </element-link> </element-column> </element-row> </xsl:for-each> The error lotusxsl is giving with & is - The reference to entity "u" must end with the ';' delimiter. This is the part of the stylesheet that gets applied to XML document that is generated by the servlet internally. Result of the transformation is later appended to another XML document to which another stylesheet is appied to transform to HTML. What I am trying to get as a result is something like <a href="/webcv/system/usermanager/?a=0&u=1"></a> I need to have the query strings on URL because the servlet depends on them to process the request properly. Any other suggestions? :-) Thanks again, Igor. inakshin@xxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of David Carlisle > Sent: Monday, February 14, 2000 5:32 PM > To: xsl-list@xxxxxxxxxxxxxxxx > Subject: Re: xsl and url parameter strings > > > > > The processor seems to choke on & character, thinking it's the > beginning of > > entity declaration. > > That's because it is the beginning of an entity declaration. > Your input is not well formed xml so will not get past an xml parser, > and so your xsl enjine will not see it. > > use & to get an ampersand in xml. > > David > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|