This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]