[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] a way to use Ampersands in xsl file


Subject: [xsl] a way to use Ampersands in xsl file
From: 1alp@xxxxxx
Date: Wed, 12 Feb 2003 14:42:16 +0100 (MET)

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



Current Thread
Keywords