Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

Need help with ditaval

$
0
0

I've created a very simple ditaval file to filter by attribute, but it's not working. I've probably made a basic mistake. Here's what I've done:

 

  1. Created a simple DITA topic (two paragraphs).
  2. Set the "audience" attribute on both paragraphs. The first is set to "beginner" and the second is set to "advanced," as shown below:

    <title>My Topic</title>
    <body>
      <p audience = "beginner">First paragraph. </p>
      <p audience = "advanced">Second paragraph.</p>
    </body>
    </topic>
  3. Created a simple ditaval file:

    <val>
      <prop att="audience" val="beginner" action="exclude" />
      <prop att="audience" val="advanced" action="include" />
    </val>

  4. Created a ditamap and added the topic to it.
  5. Saved the ditamap as a composite document and checked the

Viewing all articles
Browse latest Browse all 66580

Trending Articles