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

'&' as attribute-value ....problem

Subject: '&' as attribute-value ....problem
From: "Muyen, Arjan van" <muyena@xxxxxxxx>
Date: Fri, 14 Apr 2000 13:51:36 +0200
van muyen
Hi,

i am trying to pass a value as a HTML-form url-parameter.
This syntax contains '&'
<Example output ::
	<form action="XMLSelect.asp?mmode=forupdate&pk='id=1' "
method="post"
</Example output>

To output this with XT i wrote

<xsl:template match="/">

<STATEMENTS TO PROCESS MY TREE AND OUTPUT HTML>
	....
</STATEMENTS TO PROCESS MY TREE AND OUTPUT HTML>
<form method="post">
<xsl:attribute name="action">
XMLSelect.asp?mmode=forupdate
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>
pk= '<xsl:value-of select="something"/>'
</xsl:attribute>
</form>
</xsl:template

this does  NOT work (error : illegal use of disable-output-escaping)

This code is inside a file with normal html-output, so xt:output is not that
handy because i need xsl:output method="html".
Do i really have to do something like incl
There must be a solution however ... Anybody ?

Arjan van Muyen


 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.