| 
 
Subject: RE: [xsl] XSL From: "chris markiewicz" <cmarkiew@xxxxxxxxxxx> Date: Wed, 28 Mar 2001 10:36:42 -0500  | 
the correct syntax is {$CONTACT_ID}
but i think you want to use an xsl:value-of here...i think you only use the
{} when you're inside <>.
chris
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
Peter.FLYNN@xxxxxxxxxxxxxxxxx
Sent: Wednesday, March 28, 2001 9:56 AM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] XSL
Can anyone see the reason as to why this doesn't work quite right.
I'm using Saxon v5.5.1 and its running in a servlet web application.
I get:
Fatal error reported by XML parser: required character (found "=") (expected
";")
   URL: file:/D:/weblogic/myserver/contactManager/xsl/shortOrganisations.xsl
   Line: 16
   Column: 74
org.xml.sax.SAXParseException: required character (found "=") (expected ";")
	at com.icl.saxon.Stylesheet.process(Stylesheet.java:615)
	...
The line(s) in the XSL that its referring to looks as follows:
<xsl:variable name="CONTACT_ID"><xsl:value-of select="."/></xsl:variable>
<A>
<xsl:attribute name="HREF" saxon:disable-output-escaping="yes"
xmlns:saxon="http://icl.com/saxon">
<xsl:text>/ContactManager/contact?query=getXMLDetailedOrganisationByOrgId&st
ylesheet=yes&org_id=${CONTACT_ID}</xsl:text>
</xsl:attribute>
View Organisation
</A>
Is it complaining about the & or something else?  (Or have I written the
above bit of XSL wrong?)
Regards,
Peter
****************************************************************************
**
Check us out at http://www.syntegra.com
***********************************************************************
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] XSL, David Carlisle | Thread | RE: [xsl] XSL, Michael Kay | 
| Re: [xsl] XSL, David Carlisle | Date | [xsl] Re:, Walter Torres | 
| Month |