Using the PI MOD standard
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 206
- Joined: Thu Dec 01, 2011 4:22 pm
- Location: Hamburg, Germany
Using the PI MOD standard
Hello,
Some of our Customers use the PI MOD standard for their documents.
-> http://www.pi-mod.de/index.php?lang=en
This XML document standard uses a different tag element for their images than others like DITA.
Compared with DITA an inlinemediaobject tag element in PI MOD is an image tag element in DITA and the objectname attribute in PI MOD is similar to the href attribute in DITA.
My question concerning this is if there is some kind of mapping for those media in the WYSIWYG Auhor mode in the Oxygen XML Editor.
Can I somehow define that those inlinemediaobjects are shown like DITA images in the WYSIWYG Auhor mode?
Or am I forced to use a CSS hack to show the inlinemediaobject images?
Best regards,
Simon
Some of our Customers use the PI MOD standard for their documents.
-> http://www.pi-mod.de/index.php?lang=en
This XML document standard uses a different tag element for their images than others like DITA.
Code: Select all
<inlinemediaobject objectname="Variant-B.jpg"/>
My question concerning this is if there is some kind of mapping for those media in the WYSIWYG Auhor mode in the Oxygen XML Editor.
Can I somehow define that those inlinemediaobjects are shown like DITA images in the WYSIWYG Auhor mode?
Or am I forced to use a CSS hack to show the inlinemediaobject images?
Best regards,
Simon
Simon Scholz
vogella GmbH
http://www.vogella.com
vogella GmbH
http://www.vogella.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Using the PI MOD standard
Hi Simon,
PI MOD is an XML vocabulary for which Oxygen has no out-of-the-box support.
Oxygen has out-of-the-box support for DITA, Docbook, TEI, XHTML but this support is not hard coded, it is based on an implementation of a Document Type:
http://www.oxygenxml.com/doc/ug-oxygen/ ... intro.html
In order to have a minimal visual editing support in the Author page for a certain XML you need to write a CSS which defines styles for each element.
For example the CSS for editing DITA is located here:
OXYGEN_PLUGIN_INSTALL_DIR/frameworks/dita/css_classed/dita.css
and in order to display an image for a certain element the CSS selector is like this:
The most important part of the selector is this one:
Regards,
Radu
PI MOD is an XML vocabulary for which Oxygen has no out-of-the-box support.
Oxygen has out-of-the-box support for DITA, Docbook, TEI, XHTML but this support is not hard coded, it is based on an implementation of a Document Type:
http://www.oxygenxml.com/doc/ug-oxygen/ ... intro.html
In order to have a minimal visual editing support in the Author page for a certain XML you need to write a CSS which defines styles for each element.
For example the CSS for editing DITA is located here:
OXYGEN_PLUGIN_INSTALL_DIR/frameworks/dita/css_classed/dita.css
and in order to display an image for a certain element the CSS selector is like this:
Code: Select all
*[class~="topic/image"] {
display: inline;
content: attr(href, url);
width:attr(width, length);
height:attr(height, length);
}
Code: Select all
content: attr(href, url);
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