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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|