----- Original Message ----- From: "Dean Roddey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 26, 2001 11:01 Subject: Re: Telling two empty tags apart
> They are completely identical from XML's point of view, therefore they are > from the parser's point of view. If what you are looking for is to print > them back out the same as how they were seen originally, you couldn't do > that. What about to provide own parser class with overridden method startElement() ? It has an argument "const bool isEmpty" which set to true when <A/> is parsed, meaning than there would be no endElement() call. So, the user may store such an elements in his own pool, and then, when printing DOM tree, prints the element from pool as <A/> and others as usually <A></A> Thoughts ? Peter A. Volchek Software Engineer Metis International, Inc. [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
