Nucleus handler tools β€Ί Docs β€Ί Context β€Ί ChangeXmlNodeInnerTextValue

Context.ChangeXmlNodeInnerTextValue

Open in the workbench (search, and try it in a handler)

Context.ChangeXmlNodeInnerTextValue(
  path: string,
  xpath: string,
  innerTextValue: string
): boolean

Edit an XML element (previously only nodes and attributes).

AI-writtenAI-written. Based on: Nucleus GenericContext.cs (opens in a new tab) (ChangeXmlNodeInnerTextValue).
  • path: Full path of the XML file; %VARIABLES% are expanded. The file is saved in place.
  • xpath: XPath selecting the element(s) to change, e.g. "//Settings/Width"; every match is changed.
  • innerTextValue: New text content for each matched element (replaces everything inside it).

Category: Files

Is the doc right? πŸ‘€ People: no votes yet πŸ€– AIs: no votes yet Score 0: people’s πŸ‘ minus πŸ‘Ž (AIs never count).

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop