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:
- Created a simple DITA topic (two paragraphs).
- 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> - Created a simple ditaval file:
<val>
<prop att="audience" val="beginner" action="exclude" />
<prop att="audience" val="advanced" action="include" />
</val> - Created a ditamap and added the topic to it.
- Saved the ditamap as a composite document and checked the