Add element to existing xml files
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 1
- Joined: Wed Aug 26, 2020 7:07 pm
Add element to existing xml files
Post by abadishai1 »
Hi,
How can I add an element for several xml files in bulk in the beginning of each file and in the end. For example:
Add <Import> in the beginning of each file and </import> in the end of each file
Thanks
How can I add an element for several xml files in bulk in the beginning of each file and in the end. For example:
Add <Import> in the beginning of each file and </import> in the end of each file
Thanks
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Add element to existing xml files
Hi,
In Oxygen, if you want to wrap the root element of each XML file in a different element you can use Tools > XML Refactoring, Wrap element,
XPath: /*
Local name: import
Namespace: <NO_NAMESPACE>
Regards,
Adrian
In Oxygen, if you want to wrap the root element of each XML file in a different element you can use Tools > XML Refactoring, Wrap element,
XPath: /*
Local name: import
Namespace: <NO_NAMESPACE>
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service