Import profiling colors and styles from ditaval
Post here questions and problems related to editing and publishing DITA content.
Import profiling colors and styles from ditaval
Hi,
there is a possibility to import profiling colors and styles from a ditaval:
Editor > Edit modes > Author > Profiling/Conditional Text > Colors and Styles
But I don't find how to write the styles uand colors in the ditaval. My ditaval looks like that:
I could set the attribute color or style in the prop-element, but that would change the output and not the styling in the author mode. It would be great if the whole team could easily import the colors and styles from a ditaval.
Can anyone help?
Thank you!
Heidi
there is a possibility to import profiling colors and styles from a ditaval:
Editor > Edit modes > Author > Profiling/Conditional Text > Colors and Styles
But I don't find how to write the styles uand colors in the ditaval. My ditaval looks like that:
Code: Select all
<val>
<prop action= "exclude" att="product" val="AB"/>
<prop action= "include" att="product" val="XY"/>
</val>
Can anyone help?
Thank you!
Heidi
Re: Import profiling colors and styles from ditaval
Hello Heidi,
The flagging examples here are kind of complex and Oxygen's import does not support them all:
https://www.oxygenxml.com/dita/1.3/spec ... l-val.html
but we support stuff like this:
so you can set a color, bg color and a style for a certain attribute name with a certain value, then import the DITAVAL in Oxygen.
And you can also use the same ditaval file for publishing.
Regards,
Radu
The flagging examples here are kind of complex and Oxygen's import does not support them all:
https://www.oxygenxml.com/dita/1.3/spec ... l-val.html
but we support stuff like this:
Code: Select all
<prop action="flag" att="product" backcolor="blue" color="yellow" style="underline" val="MyProd"/>
And you can also use the same ditaval file for publishing.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 753
- Joined: Thu May 02, 2019 2:32 pm
Re: Import profiling colors and styles from ditaval
Post by chrispitude »
Hi Heidi,
Currently, Oxygen stores the imported DITAVAL information in the Oxygen .xpr file. To change/add/remove colors, the .xpr file must be updated and redistributed.
We filed enhancement request EXM-47205 to import DITAVAL dynamically at runtime:
Feature Request: Have an Oxygen project obtain all profiling condition information from DITAVAL file
Then, writers could change/add/remove conditions as needed without redistributing updated .xpr files. I thought I would mention it in case it sounds useful to you.
- Chris
Currently, Oxygen stores the imported DITAVAL information in the Oxygen .xpr file. To change/add/remove colors, the .xpr file must be updated and redistributed.
We filed enhancement request EXM-47205 to import DITAVAL dynamically at runtime:
Feature Request: Have an Oxygen project obtain all profiling condition information from DITAVAL file
Then, writers could change/add/remove conditions as needed without redistributing updated .xpr files. I thought I would mention it in case it sounds useful to you.
- Chris
Re: Import profiling colors and styles from ditaval
Hi Radu and Chris,
thank you for your answers. When I want to import the Colors and Styles (button "Import from DITAVAL" in "Editor / Edit Modes / Author / Profiling/Conditional Text / Colors and Styles"), I get the message: "No profiling style was detected from the selected DITAVAL file(s)." No matter if I write the colors or the codes:
Have you any clue why the import of Colors and Styles don't work?
The Import in "Editor / Edit Modes / Author / Profiling/Conditional Text / Attributes and Condition Sets" work fine.
Thank you
Heidi
thank you for your answers. When I want to import the Colors and Styles (button "Import from DITAVAL" in "Editor / Edit Modes / Author / Profiling/Conditional Text / Colors and Styles"), I get the message: "No profiling style was detected from the selected DITAVAL file(s)." No matter if I write the colors or the codes:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<val>
<prop action= "exclude" att="product" val="A" color="#ff00ff"/>
<prop action= "include" att="product" val="B" color="#00aa00"/>
<prop action= "exclude" att="product" val="C" color="#ff9933"/>
<prop action= "exclude" att="product" val="D" color="#00ffff"/>
<prop action= "include" att="product" val="BC" color="#0000ff"/>
<prop action= "exclude" att="product" val="CD" color="#ffe000"/>
<prop action= "exclude" att="props" val="WP" style="underline"/>
<prop action= "exclude" att="props" val="WPM" style="double-underline"/>
</val>
The Import in "Editor / Edit Modes / Author / Profiling/Conditional Text / Attributes and Condition Sets" work fine.
Thank you
Heidi
Return to “DITA (Editing and Publishing DITA Content)”
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 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