tom john wrote: > <data> > <![CDATA[ > <name>abc</name> > <tel>1111</tel> > ]]> > </data> > I need to get the data inside CDATA section and create > new node as:
Get CDATA value (string), wrap it using a dummy root element (i.e. <myroot><name>abc</name><tel>1111</tel></myroot> ), and parse this string using DOMParser. Use adoptNode() to move children of "myroot" to the original document. -- Elena Litani / IBM Toronto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]