[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: entity include using Xalan and java 1.4

Subject: RE: entity include using Xalan and java 1.4
From: Américo Albuquerque <melinor@xxxxxxx>
Date: Fri, 25 Jul 2003 17:13:59 +0100
entity include
Hi

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> tomas kaspar
> Sent: Friday, July 25, 2003 3:48 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.