xml-edit
Verified for current stable LTS
Xml Edit Command: Move Element Node Xpath1 To Xpath2
Use for move element node xpath1 to xpath2 with Xml Edit. Exact CLI syntax to move element node xpath1 to xpath2 using Xml Edit.
When to use this: Use for move element node xpath1 to xpath2 with Xml Edit.
Command Syntax
xml ed -m "<XPATH1>" "<XPATH2>" <path/to/input.xml|URI> xml ed -m "<XPATH1>" "<XPATH2>" <path/to/input.xml|URI> Live Command Builder
Final Command
xml ed -m "<XPATH1>" "<XPATH2>" <path/to/input.xml|URI> Command Breakdown
-m- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to move element node xpath1 to xpath2 using Xml Edit.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Xml Edit Command: Delete Elements Matching Xpath
xml ed -d "<XPATH1>" <path/to/input.xml|URI> Xml Edit Command: Display Help For Xml Edit xml ed -h Xml Edit Command: Rename Attributes Id To Uppercase Id xml ed -r "<//*/@id>" -v "<ID>" <path/to/input.xml|URI> Xml Edit Command: Rename Sub Elements Of Table From Rec To Record xml ed -r "</xml/table/rec>" -v "<record>" <path/to/input.xml|URI> Xml Edit Command: Update Xml Table Record Id 3 To 5 xml ed -u "<xml/table/rec[@id=3]/@id>" -v <5> <path/to/input.xml|URI>