Lines Matching full:replace
7 and uses XML attributes to specify if the elements in the file should replace
29 2) Replace an element:
30 Put in the new element, with the type='replace' attribute
31 and the XPath of the element you want to replace.
33 <enumerator type='replace'
39 This will replace the enumerator element with name XBUS under the
74 5) Replace a child element inside another element, useful when replacing
77 Use a type attribute of 'replace-child' and the xpath attribute
79 element should be used to match on so the replace can be done.
81 <enumerationType type="replace-child"
94 This will replace the <enumerator> elements with the names of
181 elif patch_type == "replace":
188 + " so can't replace this element"
203 elif patch_type == "replace-child":
206 " E> Patch type is replace-child, but"
211 # Use the key to figure out which element to replace