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

Ampersand problem

Subject: Ampersand problem
From: Piers Kittel <work@xxxxxxxxxx>
Date: Wed, 26 Mar 2003 12:37:54 +0000 (GMT)
ampersand problem
Hello all

Am having slight problems with the Ampersand problem.  I do know "&" shouldn't 
be used, and "&amp;" should be used instead, as I read in an message dated 31st 
Jan 2001 ( http://www.biglist.com/lists/xsl-
list/archives/200101/msg01502.html ) but I've got a small problem with 
Quicktime and the "&amp;" 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 certain 
times.  The links goes to other Quicktime movies.  The links has to have URL's 
with &'s in them.  Not a serious problem in itself, IE is fine with that.  But 
when a link is clicked in Quicktime, it loads up the new SMIL file from the 
server.  Which is just fine.

The thing is that I'm using XSLT to create the HTML and SMIL files to contain 
the correct clips, and the parser I use (Xalan) outputs "&" as "&amp;" but when 
Quicktime tries to parse the URL, it chokes and crashes.  It *has* to have "&" 
in the URL - "&amp;" 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


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.