Subject: RE: a way to use Ampersands in xsl file
From: "Bill Chmura" <Bill@xxxxxxxxxxxxx>
Date: Wed, 12 Feb 2003 09:18:03 -0500
|
Try using the character entitiy instead &
Maybe?
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 1alp@xxxxxx
Sent: Wednesday, February 12, 2003 8:42 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: a way to use Ampersands in xsl file
hello
there is a sample of my xsl file.
in "Line 150" i use an Ampersand.
After trying to parse this with saxon i get this Error:
############################################################
Fatal error reported by XML parser: name expected (found " ")
URL: file:/C://myfile.xsl
Line: 150
Column: 23
Transformation failed
#############################################################
is there a way to use Ampersands (i will not use &)in xsl files?
thanks
<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes"/>
<xsl:template match="/document">
<html>
<head><title></title></head>
<body>
<pre>
<br/>
Line1 text....................
Line2 text....................
Line3 text....................
line......................
Line 150 ...ouer company & some of other clients....
line text ......................
</pre>
</body>
</html>
</xsl:template>
</xsl:stylesheet
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|