How to remove a word from a element
Oxygen general issues.
-
- Posts: 6
- Joined: Thu May 23, 2019 12:09 pm
How to remove a word from a element
Post by ramanath18 »
Hi,
I want to remove a single word form a heading (<title>). I used the XML refactoring option (Delete element content) but it removes all the content.
But I need to remove an only a single word from the title.
Is there any option to do this?
Could anyone of you please assist on this, as I want to do this on n number files.
Thanks in advance.
Ram
I want to remove a single word form a heading (<title>). I used the XML refactoring option (Delete element content) but it removes all the content.
But I need to remove an only a single word from the title.
Is there any option to do this?
Could anyone of you please assist on this, as I want to do this on n number files.
Thanks in advance.
Ram
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to remove a word from a element
Hi Ram,
How about if you use our "Find/Replace in Files" dialog? It has a "Restrict to XPath" field where you can input //title and it will only perform the replacement in titles.
Otherwise you can create your own refactoring XSLT stylesheet:
https://www.oxygenxml.com/doc/versions/ ... tools.html
Regards,
Radu
How about if you use our "Find/Replace in Files" dialog? It has a "Restrict to XPath" field where you can input //title and it will only perform the replacement in titles.
Otherwise you can create your own refactoring XSLT stylesheet:
https://www.oxygenxml.com/doc/versions/ ... tools.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Thu May 23, 2019 12:09 pm
Re: How to remove a word from a element
Post by ramanath18 »
Thank you very much Radu.
It's worked.
Ram
It's worked.
Ram
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