|
Subject: [xsl] Failed to load java error in SAXON transformation From: "Ranjan K. Baisak" <ranjanbaisak@xxxxxxxxx> Date: Thu, 29 Jul 2004 02:09:17 -0700 (PDT) |
Hello List,
I am trying to move from XALAN to SAXON.
My stylesheet contains following declarations:
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:java="http://xml.apache.org/xslt/java">
...
<xsl:template name="displayDate">
<xsl:value-of select="java:java.util.Date.new()"/>
</xsl:template>
....
</xsl:stylesheet>
When I am doing the transformation then it gives
error:
Failed to load java. This occurs during date display.
So I think Saxon is not able to recognise java
namespace declaration.
xmlns:java="http://xml.apache.org/xslt/java"> needs to
be changed. Can anybody suggest me what should be
correct namespace declaration for Saxon to work
perfectly?
regards,
Ranjan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Curious result of the pos, Passin, Tom | Thread | Re: [xsl] Failed to load java error, Ranjan K. Baisak |
| Re: [xsl] XML To CSV, Bryce K. Nielsen | Date | Re: [xsl] Curious result of the pos, David Carlisle |
| Month |