Jump to content

Xpath: remove vs removeattribute


junrall

Recommended Posts

Can someone explain the difference between the Xpath commands remove and removeattribute?

I have taken a look at this page: XPath Explained and am not really understanding why I would use one over the other.

 

Could someone use the following recipe snippet and give an example use and explanation of why one command would work for a specific purpose and not the other?

<recipe name="resourceRockSmallBundle" count="1" craft_time="10" tags="learnable">
    <ingredient name="resourceRockSmall" count="6000"/>
</recipe>

 

Thanks in advance!

 

~June~

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...