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

ampersand output

Subject: ampersand output
From: Eric Vitiello <xsl-list@xxxxxxxxxxxx>
Date: Thu, 18 Oct 2001 14:07:14 -0400
svg ampersand
I've been following the &nbsp; thread, and looked up my question in the FAQ, but I've been unable to find an answer.

I've also seen some messages with examples of exactly what I'm trying to do, but they aren't working...

I'm trying to output the following stylesheet:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html"/>
  
  <xsl:template match="/family-tree">
    <html>
      <body>
      	<embed src="/default.asp?{'person=p1'}{'&amp;tree='}{@surname}" width="600" height="300" type="image/svg+xml"/>
      </body>
    </html>
  </xsl:template>


the problem is the SRC tag.  instead of outputting a & it is outputting &amp;  so the output looks like:

<html>
	<body>
		<embed src="/default.asp?person=p1&amp;tree=vitiello" width="600" height="300" type="image/svg+xml"/>
	</body>
</html>

I have also tried &#38;  but it also outputs &amp;

I am using MSXML 3.0.

any ideas?

Eric Vitiello
perceive designs
<www.perceive.net>


 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.