You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Hand, Brian" <b....@TriCorInd.com> on 2002/04/04 19:04:01 UTC
Thanks for your help
Thanks that seemed to do the trick however it did raise another issue. Can
you embed a DTD inline into a XML file via OutputFormat.
something like this:
<?xml version="1.0"?>
<!DOCTYPE person [
<!ELEMENT first_name (#PCDATA)>
<!ELEMENT last_name (#PCDATA)>
<!ELEMENT profession (#PCDATA)>
<!ELEMENT name (first_name, last_name)>
<!ELEMENT person ( name, profession*)>
]>
<person>
.....
</person>
Otherwise how would you do this?
Thanks again
Brian
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org