Jump to content

XmlTools: Difference between revisions

63 bytes added ,  2 February 2014
(→‎Overview: starting the update for the version 2.0)
Line 13: Line 13:


==Features==
==Features==
*'''Modify a chain of values''' by supplying a new starting point for the chain (sample use: repositioning an OBAN animation or adjusting the pelvis height of a TRAM).
*'''Update all values in a set of XML elements''' (e.g., repositioning an OBAN animation or adjusting the pelvis height of a TRAM).
*'''Invert a chain of values''' (sample use: inverting an OBAN animation).
*'''Inverts a set of XML elements''' (e.g., invert an OBAN animation).
*'''Add new values into XML elements''' (sample use: adding an item to a space-separated list, i.e. adding to some characters in a level).
*'''Add new values to a set of XML elements''' (e.g., add the 'unkillable' flag to some characters in a level).
*'''Remove values from XML elements''' (sample use: removing boss shields from characters in a level).
*'''Remove values from a set of XML elements''' (e.g., remove boss shields from characters in a level).
*'''Replace values in XML elements''' (sample use: increasing the health of characters by replacing the old HP value).
*'''Replace values in a set XML elements''' (e.g., increase the health of characters by replacing the old HP value).
*'''Add/remove XML elements''' (sample use: adding particles to an attack).
*'''Patch file support''' that allows the modder to list multiple commands in a file, to all be performed at once.
*'''Powerful custom XML editing using JavaScript''' (sample use: any time you need to insert XML dynamically based on what you find in the XML file, or employ logical or mathematical operations).
*'''Add new XML inside existing nodes''' (patch only).
*'''Patch file support''' allows the modder to list multiple commands in a file, on separate lines, to all be performed at once.
*'''Remove XML nodes''' (patch only).
*'''Powerful custom XML editing using [[wikipedia:JavaScript|JavaScript]]''' (e.g., to employ complex logical or mathematical operations) (patch only).
 
* To select elements to the above operations it can be used the '''element name, parent element name, attribute name/value and [http://www.w3.org/TR/xpath/ XPath 1.0]'''.


==Syntax==
==Syntax==
489

edits