You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Anthony Zawacki <zw...@us.ibm.com> on 2003/03/27 19:35:15 UTC
DTD Question
Hello,
I have been working on a program that has an XML based configuration file.
The configuration contains the actions that the application should take.
Portions of the configuration file includes arbitrary XML messages, in that
I do not have a DTD available to represent what is allowed. I have tried
several ways to create a DTD that can be validated, but so far, nothing
seems to work.
An example document:
<Parent>
<Child><Any_Xml_Possible/></Child>
</Parent>
I never know what will be inside of the Child element, but I do know that a
Child element will always be contained within the Parent element.
Is it possible to express this in a DTD?
I'm aware of the mulberry-xslt mailing lists for general questions related
to XSLT.
Is there a more appropriate forum for this question?
Thanks,
Anthony Zawacki
410-571-7161
zwacki@us.ibm.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: DTD Question
Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "Anthony" == Anthony Zawacki <zw...@us.ibm.com> writes:
Anthony> An example document:
Anthony> <Parent> <Child><Any_Xml_Possible/></Child> </Parent>
Anthony> I never know what will be inside of the Child element,
Anthony> but I do know that a Child element will always be
Anthony> contained within the Parent element.
Anthony> Is it possible to express this in a DTD?
No, but you can with an XML Schema.
--
Colin Paul Adams
Preston Lancashire
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org