From: F. David Sacerdoti (fds@cs.ucsd.edu)
Date: Wed Oct 25 2000 - 21:00:04 EDT
Is there any way to create a DTD for an XML doc using libxml?
I would like to create something like this:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE KeLP [
<!ENTITY grid1 SYSTEM "/tmp/myXArray2-0.xml">
<!ENTITY grid2 SYSTEM "/tmp/myXArray2-1.xml">
<!ENTITY grid3 SYSTEM "/tmp/myXArray2-2.xml">
<!ENTITY grid4 SYSTEM "/tmp/myXArray2-3.xml">
]>
<KeLP>
&grid1;
&grid2;
...
</KeLP>
----------
Since I dont know how many grids there will be I need to create this DTD
on the fly. Are there any examples of this? I see 'xmlAddDtdEntity' and
'xmlDumpEntityDecl', but no way to add an entity to an EntitiesTable.
Thanks,
Dave
---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Wed Oct 25 2000 - 23:43:24 EDT