• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Xpath: remove vs removeattribute

junrall

Refugee
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