Show entities as tag in author mode
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 42
- Joined: Wed Jun 20, 2018 11:30 am
Show entities as tag in author mode
Post by pieterjan_vdw »
Hi,
I need to review a file with XML and HTML, ie in the 'text' you find several HTML tags like in attached screenshots
Can you easily show these < and > entities as 'tags' in the author mode to make it less easy to make mistakes when correcting it. And if yes, how can I do this?
I need to review a file with XML and HTML, ie in the 'text' you find several HTML tags like in attached screenshots
Can you easily show these < and > entities as 'tags' in the author mode to make it less easy to make mistakes when correcting it. And if yes, how can I do this?
image.png
image.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9418
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Show entities as tag in author mode
Hi,
For > this can be done, you probably already have a custom CSS to edit the XML contents in the Author visual editing mode. You would need to define this namespace on the first line in the CSS:
and then add this CSS selector:
But for < nothing can be done, we show it in the Author mode directly as the "<" character and when serializing we always serialize it as <.
Regards,
Radu
For > this can be done, you probably already have a custom CSS to edit the XML contents in the Author visual editing mode. You would need to define this namespace on the first line in the CSS:
Code: Select all
@namespace oxy "http://www.oxygenxml.com/extensions/author";
Code: Select all
oxy|entity[name='gt'] {
-oxy-display-tags : default !important ;
}
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
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