Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Can DTD be included in the XML?? [Thread Next] Re: Can DTD be included in the XML??To: NULL Date: 9/5/2005 10:44:00 AM ck wrote:
> Can dtd be included in the XML??
Sure.
> I'd like to have that dtd itself is included in the XML, so that another
> file("*.dtd" ) will not be needed to manage in my app seperately.
>
> <?xml version="1.0" ?>
> <!--XML Start -->
> <!DOCTYPE dddd SYSTEM "test.dtd">
>
> --------------------------------------------------
> like this way
> <?xml version="1.0" ?>
> <!--XML Start -->
> <!DOCTYPE dddd >
> <!ELEMENT Capability (General, Inbox?, Service*)>
> ...< REAL XML DATA> < /REAL XML DATA>
>
> Is That possible??
> If so,, How to do it?
<?xml version="1.0" ?>
<!--XML Start -->
<!DOCTYPE dddd [
<!ELEMENT Capability (General, Inbox?, Service*)>
...
]>
<ddd>
...
--
Oleg Tkachenko [XML MVP, MCAD]
http://www.xmllab.net
http://blog.tkachenko.com
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
