489
edits
| Script 10k (talk | contribs) | Script 10k (talk | contribs)  | ||
| 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=''3926'']/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). | |||
| The resulting XML file is exactly the same of [[XmlTools/Full_Documentation#Example|--add-values example]]. | The resulting XML file is exactly the same of [[XmlTools/Full_Documentation#Example|--add-values example]]. | ||
edits