• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Xpath: remove vs removeattribute

junrall

New member
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~

 
Back
Top