From: Paul T. <pt...@gm...> - 2006-11-15 15:57:15
|
i need a way, if given an XML document, to determine if a node was marked as mixed=true in the schema. if it was, then return it's children nodes as text. is this possible within vtd? The reason for this is b/c we've got "rich text" or "html" in XML documents, and need a way to determine what is a child node, and what's intended to be html. Something like <foo><em>emphasis</em> and some <b>bold</b> text as well</foo> So <foo> would be marked as mixed=true, then i'd return the contents between the foo elements. is there a better/more standard way to do this (short of marking it all as CDATA) ? i can't seem to find a decent way to do what i'm trying to do. thanks |