This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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&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@sprynet.com





> -----Original Message-----
> From: owner-xsl-list@mulberrytech.com
> [mailto:owner-xsl-list@mulberrytech.com]On Behalf Of David Carlisle
> Sent: Monday, February 14, 2000 5:32 PM
> To: xsl-list@mulberrytech.com
> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]