Is possible to extract a portion of XML file as it is using DOM. Discussion: --------------- XML file ----------------- <personal> <name>JamesBond</name> <myaddress>678 watergr drive </myaddress> <miscellanoues> <dream>XML</dream> <hobby>billiards<hobby> </miscellanoues> </personal> ---------------------XML file ends----------- Question: Using DOM is it possible to extract value of element <miscellanoues>, say using some form of getElementsByTagName(), in to string as,(a chunk of XML file as it is) String strmiscellanoues =myDOM.(some form of)getElementsByTagName(miscellanoues) Result:strmiscellanoues=<dream>XML</dream><hobby>billiards<hobby> Is this possible ? I would appreciate your answer. thanks, AndrewReceived on Thursday, 5 July 2001 15:45:47 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:53 GMT