489
edits
Script 10k (talk | contribs) |
Script 10k (talk | contribs) |
||
Line 496: | Line 496: | ||
===Description=== | ===Description=== | ||
This operation allows to insert new XML inside existing XML nodes. | |||
Usage: | |||
<tt>@ADD_INSIDE_NODES</tt> | |||
===Example=== | ===Example=== | ||
Let's say your want do add a new glass particle to a ONCC. | |||
'''XmlTools patch command:''' | |||
@ADD_INSIDE_NODES ElementName "Particles" ParentElementName "ONCP" Files "ONCCgriffin_swat.xml" | |||
<xml> | |||
<ONCPParticle> | |||
<Name>glass_break</Name> | |||
<Type>glass_break</Type> | |||
<BodyPart>None</BodyPart> | |||
</ONCPParticle> | |||
</xml> |
edits