What is the equivalent of Entity in Schema. How do I automatically substitue a string of repetitive text in xml document,Like the way its possible using DTD with Entity. [ July 01, 2002: Message edited by: venkat vyasam ]
"However, schemas are not a be-all and end-all solution. In particular, schemas do not replace DTDs! You can use both schemas and DTDs in the same document. DTDs can do several things that schemas cannot do, most importantly declaring entities." http://www.ibiblio.org/xml/books/bible2/chapters/ch24.html
Cheers, Dan
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Thanks Dan and Shoba Got it. I am still bent on listing "several" other things that Schema cannot do that DTD does.Can anyone help me list few more.....
Venkat, The citation from the book says - "...schemas do not replace DTDs! ....DTDs can do several things that schemas cannot do, most importantly declaring entities." In my opinion, schemas don't have entities because schemas, XLinks and Xfragments provide better solutions for the same needs. XLinks replace external unparsed entities. Schema’s named complex types substitute parameter entities. XLinks and XFragments replace external parsed entities. Cheers, Dan
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.