xsl-list
[Top] [All Lists]

RE: entity include using Xalan and java 1.4

2003-07-25 09:13:59
Hi

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
tomas kaspar
Sent: Friday, July 25, 2003 3:48 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] entity include using Xalan and java 1.4


Hi,

I'm not sure if this is proper list for my question but 
hopefully yes. I have two XSL templates and one is icluded in 
the other one. When I'm using <xsl:include> and 
<xsl:call-teplate> everything works fine. But when I try to 
include the whole teplate into the first one using 
<!DOCTYPE stylesheet [
      <!ENTITY menuentity SYSTEM "menuincl.xsl">      
]>

The DOCTYPE requires the name(), you're using local-name()
Try
<!DOCTYPE xsl.stylesheet [
 ....
]>


then during tranformation i get errors like 
Document root element "xsl:stylesheet", must match DOCTYPE 
root "stylesheet". etc.

I'm using java 1.4 and Xalan 2.5. The strange thing is that 
when I remove the Xalan from the bootclasspath and I let java 
 use its own Xalan (older version that is packaged withint 
rt.jar) everything works fine.

Has anyone already met this problem?

Thanks in advance.

tomas


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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