[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl and url parameter strings

Subject: RE: xsl and url parameter strings
From: "Igor Nakshin" <inakshin@xxxxxxxxxxx>
Date: Mon, 14 Feb 2000 17:19:25 -0600
xml url parameter
David,

Thanks for your reply.

Using &amp; does not work either. Here is the actual code fragment with
&amp;

<!-- 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&amp;u=<xsl:value-of
select="@ID"/></xsl:attribute>
</element-link>
</element-column>
</element-row>
</xsl:for-each>

The error lotusxsl is giving with &amp; 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 &amp; 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.