xsl-list
[Top] [All Lists]

a way to use Ampersands in xsl file

2003-02-12 06:42:16
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



<Prev in Thread] Current Thread [Next in Thread>