|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Absent TAGs ...
> I work with msxml and xml files generated by a database. When a tag value > is absent, the database don't generate the tag. In that way, when my > scripts try to treat it ... an error occur. How can I bypass this problem. > I already try, to attibute the tag to a VAR (in my JScript) and supply and > IF statement, but with no result. If the element is not required to be present (can be NULL in your database), change the DTD so that it's presence is optional. For example, if the foo element always includes bar but only sometimes includes baz, use the declaration: <!ELEMENT foo (bar, baz?)> -- Ron Bourret xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








