found XALAN limitation when including an XML file into another XML file
Feel stuck here.
I've broken my XML file into 3 parts. (The header, content and footer).
I assemble these XML files by putting the following statement in the beginning of the document main.xml
<?xml-stylesheet type="text/xsl" href="convertToXHTML.xsl"?>
<!DOCTYPE cd_page [
<!ENTITY header SYSTEM "header.xml">
<!ENTITY content SYSTEM "content.xml">
<!ENTITY footer SYSTEM "footer.xml">
and put &header; ,&footer; and &content; in main.xml file where ever I need these blocks inserted.
This main.xml file is linked to an XSL file which outputs XHTML.
When I open main.xml in internet explorer, it is perfectly converted to XHTML but it does not work on firefox.
So for compatibility with all browsers, I want to do the conversion on the server side and send XHTML output to the browser.
When I convert it on the server side using java servlets and XALAN API it seems XALAN doesn't support the assembly of the xml blocks in this way (i.e using <!ENTITY) .
Are there any other methods/approaches of assembling XML blocks. I can test them with XALAN to see wether they are supported or not?
Last edited by ss596; 04-04-2007 at 04:56 AM.
Reason: changed the subject to be more specific
By smithg22 in forum VB Classic
Last Post: 04-12-2005, 06:23 PM
By Tim in forum xml.announcements
Last Post: 10-11-2001, 04:00 PM
By Tomer Cagan in forum ASP.NET
Last Post: 07-24-2001, 09:01 AM
By CHRISTOS STAVRINOU in forum VB Classic
Last Post: 11-16-2000, 04:58 PM
By HSIN NING in forum XML
Last Post: 08-21-2000, 12:17 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL