Using otherprops= for image filtering
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 3
- Joined: Thu Dec 05, 2019 1:10 pm
Using otherprops= for image filtering
Post by shereeasymile1 »
Hi there,
I need help with creating filters for different products for images.
Currently we use the otherprops=X (x= product version) to filter content so it appears for one version and not another.
I have 2 images: one for product X and one for all other products. When I do it this way I still get the problem of two images showing on versionX.
This is how I tried to do it but the "all other versions" image still shows on version X's PDF.
Could someone let me know what I'm doing wrong?
Thank you and kind regards,
Sheree.
I need help with creating filters for different products for images.
Currently we use the otherprops=X (x= product version) to filter content so it appears for one version and not another.
I have 2 images: one for product X and one for all other products. When I do it this way I still get the problem of two images showing on versionX.
This is how I tried to do it but the "all other versions" image still shows on version X's PDF.
Code: Select all
<image href="img/start_test_run.png.png" id="image_zhj_dlx_vjb" width="350" otherprops="all other versions"/>
<image href="img/P_test_r_G2_.png" width="350" id="image_zbg_v1b_ckb" otherprops="versionX"/>
Thank you and kind regards,
Sheree.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Using otherprops= for image filtering
Hi Sheree,
By default when it comes to DITA and filtering, everything gets included.
But you can write a DITAVAL filter file like this:
to only include DITA elements which have otherprops="versionX" but to exclude all other DITA elements with @otherprops equal to any other value.
Regards,
Radu
By default when it comes to DITA and filtering, everything gets included.
But you can write a DITAVAL filter file like this:
Code: Select all
<val>
<prop action="exclude" att="otherprops"/>
<prop action="include" att="otherprops" val="versionX"/>
</val>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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 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