K
Kent Tong
Hi,
This is wha I'm trying to do:
<?xml version="1.0"?>
<!DOCTYPE library [
<!ENTITY foo "Some sentence...">
]>
<library xmlns="http://foo.com">
&foo;
</library>
But Xerces is saying that "library" element type is undefined. I can
understand that as library is defined in the "http://foo.com"
namespace. Does it means that it is impossible to use entities in
a document using schema/namespace?
If it is true, then it is impossible to split a large xml file into
several small files and then include them as external entites?
Thanks for any advice!
This is wha I'm trying to do:
<?xml version="1.0"?>
<!DOCTYPE library [
<!ENTITY foo "Some sentence...">
]>
<library xmlns="http://foo.com">
&foo;
</library>
But Xerces is saying that "library" element type is undefined. I can
understand that as library is defined in the "http://foo.com"
namespace. Does it means that it is impossible to use entities in
a document using schema/namespace?
If it is true, then it is impossible to split a large xml file into
several small files and then include them as external entites?
Thanks for any advice!