I'm using the following, which is generated as such:
Xalan -o DNPRouter.xsl DNPRouter.sch schematron-diagnose.xsl

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<axsl:stylesheet xmlns:axsl="http://www.w3.org/1999/XSL/Transform";
xmlns:sch="http://www.ascc.net/xml/schematron"; version="1.0">
<axsl:output method="text"/>
<axsl:template match="*|@*" mode="schematron-get-full-path">
<axsl:apply-templates select="parent::*" mode="schematron-get-full-path"/>
<axsl:text>/</axsl:text>

You are saying I should use html?

Thanks, chad

PS:  I've posted a bug report for Xalan to see if they have perhaps caused the
problem.




Eric Pailleau <[EMAIL PROTECTED]> on 22/01/2004 12:43:58 PM

Please respond to [email protected]

To:   [email protected]
cc:    (bcc: Chad Williamson/BOW Software Inc.)

Subject:  Re: Anyone seen this XSLT error before? Upgraded from Xalan 1.6    to
      1.7



Chad Williamson wrote:
>
>
> This isn't working for me...
>
> I get that
> [EMAIL PROTECTED] Schematron]$ Xalan router2.xml chadtest.xsl
> XSLT warning: Fatal Error at (file chadtest.xsl, line 3650, column 32): Entity
> 'nbsp' was not found (chadtest.xsl, line 3650, column 32)
> SAXParseException: Entity 'nbsp' was not found (chadtest.xsl, line 3650,
column
> 32)
>
> Using the &#160; I get the following output:
> Please check RouterId = '�
> chad2
> � ' and correct this issue.
>
> Thanks, chad
>

Is your output in HTML or only text ?

what is your output method ?

example : <xsl:output method="html" version="4.0" indent="yes"/>
or
<xsl:output method="text" indent="no"/>
or
<xsl:output method="xml" indent="yes"/>

Also, use the 'encoding' option in header :
<?xml version="1.0" encoding="ISO-8859-1" ?>

set it to ISO-8859-1, and try again ...

tell me aware...

regards






Reply via email to