Custom framework + external content references
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 16
- Joined: Wed May 20, 2009 2:25 pm
Custom framework + external content references
Hello!
I'm making a custom framework for our custom XML, and I'd like to use similar features as with DITA's conref, that is, pull content from another document into the currently open module.
I'm able to get raw xml content included, but I'd like to get it renderd properly as well (readonly might be fine though).
I couldn't find references to how the conref inclusing is handling when looking in the DITA framework, am I missing something or is this handled outside the framework?
Thanks!
Br,
Jan Nylund
I'm making a custom framework for our custom XML, and I'd like to use similar features as with DITA's conref, that is, pull content from another document into the currently open module.
I'm able to get raw xml content included, but I'd like to get it renderd properly as well (readonly might be fine though).
Code: Select all
foo {
content:"[" oxy_xpath("fn:doc(@href)/(/*)") "]";
}
Thanks!
Br,
Jan Nylund
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Custom framework + external content references
Hi Jan,
Making something eqivalent to the DITA conref expander required a Java extension.
You would need the Author SDK for this:
http://www.oxygenxml.com/oxygen_sdk.htm ... horing_SDK
If in the Document Type Association Preferences page you edit the DITA document type, in the Extensions tab you will see an extensions bundle implementation set up: ro.sync.ecss.extensions.dita.DITAExtensionsBundle.
The same editing dialog has a "Classpath" tab where references to the JAR libraries containing the implementation are made.
The Java code for that implementation is in the SDK. The extensions bundle overrides a method called ro.sync.ecss.extensions.dita.DITAExtensionsBundle.createAuthorReferenceResolver() which is the class responsible for the DITA conref expansion.
Regards,
Radu
Making something eqivalent to the DITA conref expander required a Java extension.
You would need the Author SDK for this:
http://www.oxygenxml.com/oxygen_sdk.htm ... horing_SDK
If in the Document Type Association Preferences page you edit the DITA document type, in the Extensions tab you will see an extensions bundle implementation set up: ro.sync.ecss.extensions.dita.DITAExtensionsBundle.
The same editing dialog has a "Classpath" tab where references to the JAR libraries containing the implementation are made.
The Java code for that implementation is in the SDK. The extensions bundle overrides a method called ro.sync.ecss.extensions.dita.DITAExtensionsBundle.createAuthorReferenceResolver() which is the class responsible for the DITA conref expansion.
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