W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2003

Re: ANY Data Type usage in DTDs

From: Jeni Tennison <jeni@jenitennison.com>
Date: Fri, 10 Jan 2003 10:07:41 +0000
Message-ID: <162970901.20030110100741@jenitennison.com>
To: "sudhamsh kalaveedu" <sudhamsh@hotmail.com>
CC: xmlschema-dev@w3.org

Hi,

> I have a DTD which says
>
> <!Element SubjectBlock ANY>
>  
> I want to bring in tags from another DTD under this tag and I want
> to validate the content.Can somebody help me with this?

Declare a parameter entity for the external DTD and then reference
that entity to import the DTD:

<!ENTITY % external SYSTEM 'external.dtd'>
%external;

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Friday, 10 January 2003 05:07:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:35 GMT