← Prev in month ← Prev in thread
Next in thread → Next in month →

RE: DOCBOOK-APPS: Suppressing <?xml version="1.0"> added by XMeta L

From
Jeff Beal <>
Date
2002-06-17T14:39:58+00:00
ID
Thread
RE: DOCBOOK-APPS: Suppressing <?xml version="1.0"> added by XMeta L
What error does saxon give you?  I have similar files, and saxon doesn't
complain about the XML declaration.  However, Saxon would complain about
multiple DOCTYPE declarations.  (Any XML parser will -- multiple DOCTYPE
declarations -- even in external entities -- render the document malformed.)
I use Epic instead of XMetal, however, and Epic gets around this problem
with what they call fragment headers.  (Basically, DOCTYPE declarations
wrapped in a comment that Epic understands.)  Other editors I've seen use
processing instructions or a "default DOCTYPE" setting for editing external
entities.  I don't know how XMetal does this, but it seems that it doesn't
do it in a reasonable fashion.

Jeff

-----Original Message-----
From: Zhuravleva, Tatyana [mailto:]
Sent: Monday, June 17, 2002 10:17 AM
To: 
Subject: DOCBOOK-APPS: Suppressing <?xml version="1.0"> added by XMetaL


I'm a newbie, thinking of using XMetaL for DocBook.

One of the things I got stuck with right in the beginning is that XMetaL
adds <?xml version="1.0">  to my chapter files (external entities), even
when opening in "Edit as a partial document" mode. 
And saxon doesn't like it. Can anybody tell, am I doing anything wrong?
I'm going to have lots of files, so removing the line manually is not an
option for me. Sorry if it's offtopic.

Thanks
Tatiana
← Prev in month ← Prev in thread
Next in thread → Next in month →