I have this XML file.
<products>
<product zid="cmslcmsdklcms">
<price>34</price>
<category>Football</category>
</product>
<product zid="kcnskcsks77789ds9">
<price>56</price>
<category>Rugby</category>
</product>
<product zid="343d34x">
<price>12</price>
<category>Volley</category>
</product>
</products>
I want to remove everything inside the tag between zid and " included. The result should be this:
<products>
<product>
<price>34</price>
<category>Football</category>
</product>
<product>
<price>56</price>
<category>Rugby</category>
</product>
<product>
<price>12</price>
<category>Volley</category>
</product>
</products>
No comments:
Post a Comment