How to delete certain attributes of the whole xml
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 1
- Joined: Sat Aug 06, 2016 12:13 pm
How to delete certain attributes of the whole xml
Hy,
i have xml with cca 5000 products. I need to delete some attributes becouse further rapid proccesing data.
For example i have:
PRODUCT
product id
reference
price
availible
...
In that way for 5000 products.
How can now i delete all reference or any other attribute in all xml?
i have xml with cca 5000 products. I need to delete some attributes becouse further rapid proccesing data.
For example i have:
PRODUCT
product id
reference
price
availible
...
In that way for 5000 products.
How can now i delete all reference or any other attribute in all xml?
-
- Site Admin
- Posts: 275
- Joined: Thu Dec 24, 2009 11:21 am
Re: How to delete certain attributes of the whole xml
Hello,
You can use the "XML Refactoring" action. The action can be accessed from the MENU -> Tools -> XML Refactoring.
In the "XML Refactoring" dialog you should choose the "Delete attribute" operation. In the next page you should fill in the name of the element you want to delete the attribute from (in your case the "PRODUCT" element) and the name of the attribute you want to delete (the "reference" attribute).
You can read more about this tool in our User Manual:
https://www.oxygenxml.com/doc/ug-editor ... nts-1.html
https://www.oxygenxml.com/doc/ug-editor ... attributes
https://www.oxygenxml.com/demo/XML_Refactoring.html
You can use the "XML Refactoring" action. The action can be accessed from the MENU -> Tools -> XML Refactoring.
In the "XML Refactoring" dialog you should choose the "Delete attribute" operation. In the next page you should fill in the name of the element you want to delete the attribute from (in your case the "PRODUCT" element) and the name of the attribute you want to delete (the "reference" attribute).
You can read more about this tool in our User Manual:
https://www.oxygenxml.com/doc/ug-editor ... nts-1.html
https://www.oxygenxml.com/doc/ug-editor ... attributes
https://www.oxygenxml.com/demo/XML_Refactoring.html
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Software Developer
<oXygen/> XML Editor
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