Hi !
Thanx a lot for the replies !
// If you want it that finely controlled, you have to parse the files
// separately and then combine the DOM trees (import one into the other).
// Ciao, Jürgen
I will be using SAX, because it fits better into the approach my app uses.
// This is incorrect. Th
On Tue, 4 Sep 2001 09:46:22 +0200, Ing. Hans Pesata wrote:
>the only problem is see with this approach is, that the DTD-file
>is not bound to the included XML-file and so I cant make sure,
>that the included XML-file is 100% validated correctly.
If you want it that finely controlled, you have to
"Ing. Hans Pesata" <[EMAIL PROTECTED]> writes:
> Hi !
>
> // You can include dtd files in the same way.
> // Like this:
> //
> //
> //
> // // [
> //
> //
> // %dtdfile;
> // ]>
> //
> //
> //
> //
> //
> //&xmlfile;
> //
> //
(Clarification of my last statement: External parsed entities _are_ built
into the parser, and as others have said can be defined in the document's
internal subset... and that is well standardized. Doing it without using
external-entity syntax, as in XInclude, is still being architected.)
-
Not yet really standardized, not built into the parser.
You can write an XInclude processor -- see the W3C's website for that spec.
Or you can write an XSLT stylesheet which uses XSLT's document() feature to
reference other files when it sees the appropriate information in your
source document.
Hi !
// You can include dtd files in the same way.
// Like this:
//
//
//
//
//
// %dtdfile;
// ]>
//
//
//
//
//
// &xmlfile;
//
//
//
//
//
// The entity dtdfile will be expanded immediatly when it is seen
// and there
the DTD parsing.
Note this is pure "this should work". I have not tested it myself.
Good luck.
Erik Rydgren
Mandarinen systems AB
Sweden
-Original Message-
From: Ing. Hans Pesata [mailto:[EMAIL PROTECTED]]
Sent: den 3 september 2001 13:41
To: [EMAIL PROTECTED]
Subject: AW: Inclu
Hi !
I realized, that it is not possible to use external entities within
attributes,
so I triedusing the include for my external XML-file within an element
and this works.
Another thing I realized is, that I cant use a DTD within
the included XML-file, that means I just can access/use elements a
Hi !
// Actually, this is a very typical question, and yes, you use external
// entities. Instead of defining them in your DTD (i.e. the external
// subset), you use the internal subset within your XML document:
//
//
//
//
//
//
//
//
//
// ]>
//
// &Person;
// &Security;
// &A
"Ing. Hans Pesata" <[EMAIL PROTECTED]> writes:
> I know this is not a typical XERCES-related question,
> but I would like to know, if and how it is possible to include
> XML-files with other XM-files ?!
>
> I read about external entities, but these must be defined
Hi !
I know this is not a typical XERCES-related question,
but I would like to know, if and how it is possible to include
XML-files with other XM-files ?!
I read about external entities, but these must be defined with a DTD
and not within my XML-file ?!
I am currently working on a project
11 matches
Mail list logo