Better support for DocBook
Are you missing a feature? Request its implementation here.
Better support for DocBook
Hi all,
I guess this can be useful for those who use Oxygen to author in DocBook XML.
Some DocBook tags require specifying an ID to cross-reference to a part of a document. Oxygen does not support IDs, that is, the editor does not give hints on the IDs defined across the source files within the project.
I would love it if Oxygen could display a pop-up menu with the list of IDs, in the same manner as it does for entities. I realize it requires some investigation and parsing the source files but this could be done somehow in the background.
If this feature was implemented, it would be a big step forward in supporting DocBook XML. A similar functionality is present in XMetaL supporting DITA.
Thanks,
-Zby
I guess this can be useful for those who use Oxygen to author in DocBook XML.
Some DocBook tags require specifying an ID to cross-reference to a part of a document. Oxygen does not support IDs, that is, the editor does not give hints on the IDs defined across the source files within the project.
I would love it if Oxygen could display a pop-up menu with the list of IDs, in the same manner as it does for entities. I realize it requires some investigation and parsing the source files but this could be done somehow in the background.
If this feature was implemented, it would be a big step forward in supporting DocBook XML. A similar functionality is present in XMetaL supporting DITA.
Thanks,
-Zby
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
It is already implemented and it will be available in the next release of <oXygen/>. The IDs present in the edited document are collected dynamically and offered in the tag insight window for IDREF and IDREFS attribute values.
Regards,
Sorin
It is already implemented and it will be available in the next release of <oXygen/>. The IDs present in the edited document are collected dynamically and offered in the tag insight window for IDREF and IDREFS attribute values.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
The IDs are offered only for attribute values that must contain IDs. For example the linkmode attribute of olink. The targetptr attribute is of type CDATA.
Regards,
Sorin
The IDs are offered only for attribute values that must contain IDs. For example the linkmode attribute of olink. The targetptr attribute is of type CDATA.
Regards,
Sorin
Well, for me, better support means not only following the formal rules but also adding some intelligence. In other words, not only syntax matters, semantics is as much important. So, since every DocBook user knows that, for example, olink may require targetptr, and the value of targetptr is always an ID, despite its data type is CDATA, I would expect Oxygen suggesting the list of IDs in this case.
Of course, ideally the editor should help with other tags and their attributes in a smart way, for all XML-based applications.
Another issue that falls into this topic is to have an opportunity to invoke online help for a DocBook element from the pop-up tooltips, which can be displayed permanently by pressing F2. It could be a direct link to the DocBook reference manual or a help page with some extra explanation, examples etc.
Regards,
-Zby
Of course, ideally the editor should help with other tags and their attributes in a smart way, for all XML-based applications.
Another issue that falls into this topic is to have an opportunity to invoke online help for a DocBook element from the pop-up tooltips, which can be displayed permanently by pressing F2. It could be a direct link to the DocBook reference manual or a help page with some extra explanation, examples etc.
Regards,
-Zby
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
The targetptr value is an ID from other document. Offering IDs from other documents in the tag insight window requires special support for the DocBook olink target database. Currently only IDs from the same document are collected and offered on tag insight.
The tooltips of DocBook elements present the DocBook DTD annotations. They are displayed permanently in the Model view which presents the content model and annotation when the caret is positioned inside the element. A link to the reference manual must first be added to the annotation inside DocBook DTD, probably as a response to a RFE posted by a user and then <oXygen/> can render it as a clickable link.
Regards,
Sorin
The targetptr value is an ID from other document. Offering IDs from other documents in the tag insight window requires special support for the DocBook olink target database. Currently only IDs from the same document are collected and offered on tag insight.
The tooltips of DocBook elements present the DocBook DTD annotations. They are displayed permanently in the Model view which presents the content model and annotation when the caret is positioned inside the element. A link to the reference manual must first be added to the annotation inside DocBook DTD, probably as a response to a RFE posted by a user and then <oXygen/> can render it as a clickable link.
Regards,
Sorin
Hi Sorin,
this is it! You are absolutely right, collecting and offering IDs from all documents within a project, or from all files used to generate the target database is the approach I meant. I guess finding all ID within the active document does not require code enhancement. Can IDs be found using an XPath expression?
BTW, I did not mean you should treat olink in a special way. I was trying to indicate the possible direction for improvements.
Thanks for explanation regarding the tooltips. Seems I should submit such an RFE.
Thanks,
-Zby
this is it! You are absolutely right, collecting and offering IDs from all documents within a project, or from all files used to generate the target database is the approach I meant. I guess finding all ID within the active document does not require code enhancement. Can IDs be found using an XPath expression?
BTW, I did not mean you should treat olink in a special way. I was trying to indicate the possible direction for improvements.
Thanks for explanation regarding the tooltips. Seems I should submit such an RFE.
Thanks,
-Zby
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