[XSL-LIST Mailing List Archive Home]
Re: [xsl] Ampersand problem
Subject: Re: [xsl] Ampersand problem|
From: "Simon Kelly" <kelly@xxxxxxxxxx>
Date: Wed, 26 Mar 2003 14:42:00 +0100
Not sure exactly how to implement this, but  is the & (I think, this is
the ascii number anyway) just use that where you absolutely need to insert a
single & in the output.
----- Original Message -----
From: "Piers Kittel" <work@xxxxxxxxxx>
Sent: Wednesday, March 26, 2003 1:37 PM
Subject: [xsl] Ampersand problem
> Hello all
> Am having slight problems with the Ampersand problem. I do know "&"
> be used, and "&" should be used instead, as I read in an message dated
> Jan 2001 ( http://www.biglist.com/lists/xsl-
> list/archives/200101/msg01502.html ) but I've got a small problem with
> Quicktime and the "&" thing.
> What I'm trying to do is to embed a Quicktime movie in an HTML page, and
> Quicktime uses SMIL to display the video and links that comes up at
> times. The links goes to other Quicktime movies. The links has to have
> with &'s in them. Not a serious problem in itself, IE is fine with that.
> when a link is clicked in Quicktime, it loads up the new SMIL file from
> server. Which is just fine.
> The thing is that I'm using XSLT to create the HTML and SMIL files to
> the correct clips, and the parser I use (Xalan) outputs "&" as "&" but
> Quicktime tries to parse the URL, it chokes and crashes. It *has* to have
> in the URL - "&" will not work.
> So how do I make Xalan output a pure "&" in the SMIL file?
> Thanks very much in advance for your help
> Cheers - Piers
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list