oxygen delete's empty <![CDATA[]]>
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Fri Dec 10, 2004 8:58 pm
oxygen delete's empty <![CDATA[]]>
Hi,
since there is a problem with handling <textarea/> in browsers (solution for mozilla is to send header application/xhtml+xml, but IE do not know this header
) I've finally find out, how to easilly prevent xslt parsers to collapse <textarea></textarea> into <textarea/>
by putting <![CDATA[]]> in it. It's empty (no spaces etc...) and it works.. cool
but when I use pretty print in oxygen, it removes this "empty but usefull
" element... and everything is screwed up in that moment...
is there any way to force oxygen to not care about <![CDATA[]]> tags?
thanks for help
since there is a problem with handling <textarea/> in browsers (solution for mozilla is to send header application/xhtml+xml, but IE do not know this header

by putting <![CDATA[]]> in it. It's empty (no spaces etc...) and it works.. cool
but when I use pretty print in oxygen, it removes this "empty but usefull

is there any way to force oxygen to not care about <![CDATA[]]> tags?
thanks for help
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
Oxygen has two formatting actions. One is "Format and indent" that does a "heavy" formatting and that parses the document first, thus it cannot keep empty CDATA sections. The other is "Indent selection" available from the contextual menu (right click on Windows) that does a "light" formatting affecting only the spaces at the beggining of lines. So check the "Indent selection" action and see if that solves your problem.
Best Regards,
George
Oxygen has two formatting actions. One is "Format and indent" that does a "heavy" formatting and that parses the document first, thus it cannot keep empty CDATA sections. The other is "Indent selection" available from the contextual menu (right click on Windows) that does a "light" formatting affecting only the spaces at the beggining of lines. So check the "Indent selection" action and see if that solves your problem.
Best Regards,
George
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