|
-
found XALAN limitation when including an XML file into another XML file
Hi all,
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 version="1.0"?>
<?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
Similar Threads
-
By smithg22 in forum VB Classic
Replies: 9
Last Post: 04-12-2005, 06:23 PM
-
By Tim in forum xml.announcements
Replies: 0
Last Post: 10-11-2001, 04:00 PM
-
By Tomer Cagan in forum ASP.NET
Replies: 1
Last Post: 07-24-2001, 09:01 AM
-
By CHRISTOS STAVRINOU in forum VB Classic
Replies: 0
Last Post: 11-16-2000, 04:58 PM
-
By HSIN NING in forum XML
Replies: 0
Last Post: 08-21-2000, 12:17 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks