OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Type "Any"

[ Lists Home | Date Index | Thread Index ]
  • From: "Abhishek Srivastava" <abisheks@india.hp.com>
  • To: "'xml-dev'" <xml-dev@ic.ac.uk>
  • Date: Sat, 15 Jan 2000 19:58:01 +0530

Hi,
 
Can I define an element to type "ANY" in a DTD.
 
I am writing a program that can receive any xml message as requests and
it it builds an XML response for that. Since I do not know what the incoming
request structure will be, I want to declare an element of type "any" in my
response DTD so that the entire request message can be substituted in place of
type any and still my document conforms to my DTD.
 
One solution can be that I do not use a DTD at all, there by I'll be free to insert
any well formed tag into my document. But the response that I am building has
other xml elements also that need to be validated against a DTD.
 
I'll be grateful for your reply.
 
Thanks,
Abhishek.
 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    _/               Abhishek Srivastava
   _/                Hewlett Packard ISO      
  _/_/_/   _/_/_/    -------------------  
 _/    /   _/   _/     (Work)   +91-80-2251554 x1190
_/  _/   _/_/_/      (Ip)     15.10.47.37           
        _/           (Url)    http://sites.netscape.net/abhishes/index.html                       
       _/           
                     Work like you don't need the money.
                     Dance like no one is watching.
                     And love like you've never been hurt.
                     --Mark Twain                      
                    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS