Generate HTML in Text view without extra attributes
Oxygen general issues.
-
- Posts: 313
- Joined: Wed Jun 17, 2015 10:19 am
Generate HTML in Text view without extra attributes
Post by ann.jensen »
Hi,
I want to use Oxygen XML Author to paste in text into Author view and generate HTML in Text view but it is adding unnecessary attributes like
style and shape attributes.
I wonder is it configurable to ask it to not add these attributes?
Thanks in advance,
Ann
I want to use Oxygen XML Author to paste in text into Author view and generate HTML in Text view but it is adding unnecessary attributes like
style and shape attributes.
I wonder is it configurable to ask it to not add these attributes?
Thanks in advance,
Ann
Re: Generate HTML in Text view without extra attributes
Hi Ann,
Just to see if I understand, are you copying content from a web browser and then pasting the content in an HTML document opened in Oxygen in the Author visual editing mode? If those @style and @shape attributes show up, this means they were part of the pasted HTML content, Oxygen does not know if they are really necessary or not. Maybe you can create a custom XML refactoring action in XSLT for example to remove them later: https://www.oxygenxml.com/doc/versions/ ... tools.html
Or use some kind of regular expression Find/Replace in the Text editing mode to remove the attributes.
Regards,
Radu
Just to see if I understand, are you copying content from a web browser and then pasting the content in an HTML document opened in Oxygen in the Author visual editing mode? If those @style and @shape attributes show up, this means they were part of the pasted HTML content, Oxygen does not know if they are really necessary or not. Maybe you can create a custom XML refactoring action in XSLT for example to remove them later: https://www.oxygenxml.com/doc/versions/ ... tools.html
Or use some kind of regular expression Find/Replace in the Text editing mode to remove the attributes.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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