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]

RE: XSL


It will complain about the ampersands; it assumes they are the start of
entities.

mike

-----Original Message-----
From: Peter.FLYNN@syntegra.bt.co.uk
[mailto:Peter.FLYNN@syntegra.bt.co.uk]
Sent: 28 March 2001 15:56
To: XSL-List@lists.mulberrytech.com
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


___________________________________________________________________________
This email is confidential and intended solely for the use of the 
individual to whom it is addressed. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of 
Sema. 
If you are not the intended recipient, be advised that you have received this
email in error and that any use, dissemination, forwarding, printing, or 
copying of this email is strictly prohibited.

If you have received this email in error please notify the Sema UK
Helpdesk by telephone on +44 (0) 121 627 5600.
___________________________________________________________________________

 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]