489
edits
Script 10k (talk | contribs) |
Script 10k (talk | contribs) m (→Example) |
||
Line 636: | Line 636: | ||
'''XmlTools patch command:''' | '''XmlTools patch command:''' | ||
@COMMAND Options "--add-values --new-val 'Unkillable NonCombatant' --xpath-expression '/Oni/Objects/CHAR[@Id=''3926'']/OSD/Flags' --files 'BINACJBOCharacter.xml'" | @COMMAND Options "--add-values --new-val 'Unkillable NonCombatant' --xpath-expression '/Oni/Objects/CHAR[@Id=<nowiki>''3926''</nowiki>]/OSD/Flags' --files 'BINACJBOCharacter.xml'" | ||
Note that in the XPath expression we replace each single quote by two single quotes (allows XmlTools differentiate from the other single quotes around command line options). | Note that in the XPath expression we replace each single quote by two single quotes (allows XmlTools differentiate from the other single quotes around command line options). |
edits