[erlang-questions] Removing Element from XML

Maruthavanan Subbarayan <>
Thu May 12 15:38:13 CEST 2011


Hi,
I have a xml document like below
<emp><id>1</id><name>Erlang</name><address><street>Street 1</street><country>Country 1<country></address></emp>
I have done xmerl_scan:stream, now I need to remove the id , name node such that I have only address.
How do I remove so that I can below.
<emp><address><street>Street 1</street><country>Country 1<country></address></emp>
Thanks,Marutha 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110512/af6d94b9/attachment.html>


More information about the erlang-questions mailing list