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]

xsl and url parameter strings


Hello,

I am trying to implement a <A HREF> tag via XSL in the following way:

<A>
<xsl:attribute name="HREF">
	myserver.com/mydir/myservlet?param1=value1&<xsl:value-of select="FROMXML"/>
</xsl:attribute>
</A>

The processor seems to choke on & character, thinking it's the beginning of
entity
declaration.

The XML has no DTD associated with it. It would be difficult to define the
entity in the
top-level XML document because I am actually combining several XML documents
into
one using a servlet, while applying XSL transformations for some documents
and leaving
others untouched for final transformation to HTML.

Any ideas?

Thanks in advance,

Igor Nakshin
inakshin@sprynet.com


 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]