OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] use SAX to get "tree" under XML node



Will Johnson wrote:
> 
> first let me appologize for the broken XML i used in my sample.  and i
> figured out a "workaround"...  if you wrap the node in a CDATA section you
> get all the text including xml tages with no extra effort.

If that's what you want, then fair enough, but you should realize that
these are two *very* different things. That is:

   <foo><bar/></foo>

is different from:

   <foo><![CDATA[<bar/>]]></foo>

The first has two elements; the second has one.

-- Ron