"Joe Marini" <[EMAIL PROTECTED]> writes: > Hello all, > > I'm hoping someone can help me with a basic question. > > Suppose I have two tags that look like this: > > <tag></tag> > <tag/> > > Now, clearly, each is an empty tag. My question: is there any way within > Xerces to tell the difference between the two types of empty tags? For > example, if I wanted to modify the DOMPrint example to output these two tags > exactly as they appear in the source file, how would I do it?
My understanding of the spec is that the two types of tags are interchangeable and it is up to each parser to implement them as it sees fit. So you can't do this in a reliable manner. I went digging through the spec but couldn't find the section that says this, so I could be wrong. jas. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
