Re: [xsl] Document() and &

Subject: Re: [xsl] Document() and &
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Tue, 14 May 2002 11:33:19 +0100
Hi Josh,

> So on to my problem... what I need is for the reference to
> contain an ampersand. ie.
> <xsl:apply-templates 
> select="document(';id=12345')"/>
> This will not work and gives the following error "Error while
> parsing
> ''.
> Missing equals sign between attribute and attribute value". Some
> where along the line the ampersand gets removed. I have also tried
> using just a '&' instead of a '&amp;' (even thought I know that it
> is improper to do so) and get the same error.

The behaviour you're describing sounds very weird. What processor are
you using, and how are you invoking it? Using &amp; as you are doing
should work fine -- it certainly shouldn't get removed.



Jeni Tennison

 XSL-List info and archive:

Current Thread