[oXygen-user] DITAVAL content is not being used appropriately in Oxygen 11.2 when transforming to PDF using DITA-OT

Steve Matlock
Fri Jul 2 12:42:42 CDT 2010


Summary: DITAVAL content is not being used appropriately in Oxygen 11.2

What I’m doing:

1.     I have a set of DITA tasks and concepts that are included in a Map
file that is included in a Bookmap file.

2.     The tasks and concepts have tags that use the audience attribute with
a value set to the locale I want to include or exclude, such as
audience=”US” or audience=”UK”

3.     Some of the tasks and concepts use conrefs to other content that also
includes the audience attribute set to the value I want.

4.     In most cases I specify a single value for the audience.

5.     In some cases, I specify multiple audiences such as <p audience="XML
US">text goes here</p> for content that is for XML users in the US only.

6.     I have a set of DITAVAL files that contain the include and exclude
statements, such as  <prop action="include" att="audience" val="US" />  and
<prop action="exclude" att="audience" val="UK" />. They also contain
include/exclude statement for other values such as <prop action="exclude"
att="audience" val="XML" />.

7.     My Oxygen Transform refers to the DITAVAL file I want to use. I
specified it by browsing to it in the dialog box so the path is correct.

8.     At transform time, the DITA-OT transforms the content into a PDF.
This all works fine in that the file builds.

However, the audience attribute for “US” or “DE” or whatever is not being
respected for the transform, while the audience attribute for the other
values (such as audience=”XML” or audience=”HTML”) is working.

A. I’m at a loss to figure out what is causing the problem. Is it specifying
more than one value in the audience (line 5, above)? Is this not the right
way to specify multiple audiences?

B. Is the problem that I’m specifying a value to include (XML) and a value
to exclude (US) in the same tag (see line 5, above)?

If (B) is true, then how would I specify content that should be included for
XML users, but only if they're in the US? I have multiple users (XML, HTML,
PHP, and so on) and multiple locales (UK, US, DE, and so on).

I'm probably missing some very obvious feature of DITA, but that goes
without saying.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20100702/b0c1c856/attachment.html 


More information about the oXygen-user mailing list