|
Hi, I'm new to XQaury, someone told me it is the right tool to solve my problem, still don't yet see how to do it. Any pointers are appreciated.
Given an xml document, I'd like to make some changes to the content (e.g., change an attribute, or switching the order of two child nodes, or add a new node). I can do all these using standard programming languages and DOM (e.g., java and JDOM), but I found these really repetative and intellecturally wanting. I'd like to just give an instruction in some language, and a general transformer should do the actual work. Is XQuery the tool for this type of task?
Thanks.
|