can I use wildcard in "val" attribute in DITAVAL file?
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 13
- Joined: Mon Dec 18, 2017 10:52 pm
can I use wildcard in "val" attribute in DITAVAL file?
In my DITAVAL file, I want to add a statement that excludes all content with a specific attribute ("product"), and then add include statements to include content marked with specific values for that attribute. I tried using a wildcard in the "val" attribute, but it did not seem to work. Does anyone know if wildcards are supported in the "val" attribute? For example:
A GENERAL EXCLUDE STATEMENT:
<prop att="product" action="exclude"/>
FOLLOWED BY A WILDCARD INCLUDE STATEMENT:
<prop att="product" val="not*" action="include"/>
AND THEN A SPECIFIC INCLUDE STATEMENT:
<prop att="product" val="product1" action="include"/>
A GENERAL EXCLUDE STATEMENT:
<prop att="product" action="exclude"/>
FOLLOWED BY A WILDCARD INCLUDE STATEMENT:
<prop att="product" val="not*" action="include"/>
AND THEN A SPECIFIC INCLUDE STATEMENT:
<prop att="product" val="product1" action="include"/>
-
- Posts: 9441
- Joined: Fri Jul 09, 2004 5:18 pm
Re: can I use wildcard in "val" attribute in DITAVAL file?
Hi,
The DITA standard does not support wildcards in DITAVAL filters.
I posted a link to your comment on the DITA standard comments list:
https://lists.oasis-open.org/archives/d ... 00002.html
Who knows, maybe they might be interested in adding such a feature in a future DITA standard release.
Regards,
Radu
The DITA standard does not support wildcards in DITAVAL filters.
I posted a link to your comment on the DITA standard comments list:
https://lists.oasis-open.org/archives/d ... 00002.html
Who knows, maybe they might be interested in adding such a feature in a future DITA standard release.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 10
- Joined: Fri Jul 16, 2004 11:25 pm
Re: can I use wildcard in "val" attribute in DITAVAL file?
Note that you can get the effect of wildcards by using a subject scheme to provide a common ancestor type over all the specific values and then use the common type value in the DITAVAL.
Not as convenient as "not*" but it will work.
If you use a subject scheme to do the initial definition and ongoing maintenance of all your profiling values then it becomes more convenient to use it in this way as well.
Cheers,
Eliot
Not as convenient as "not*" but it will work.
If you use a subject scheme to do the initial definition and ongoing maintenance of all your profiling values then it becomes more convenient to use it in this way as well.
Cheers,
Eliot
----
Eliot Kimber
Innodata Isogen
Eliot Kimber
Innodata Isogen
-
- Posts: 9441
- Joined: Fri Jul 09, 2004 5:18 pm
Re: can I use wildcard in "val" attribute in DITAVAL file?
Hi,
Right, for anybody interested we have an example in the user's guide about using Subject Scheme maps both for imposing controlled attribute values and for filtering:
Radu
Right, for anybody interested we have an example in the user's guide about using Subject Scheme maps both for imposing controlled attribute values and for filtering:
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