Home Forums DITA and XMetaL Discussion Possible to use conditions for different chapters of same book? Reply To: Possible to use conditions for different chapters of same book?

Su-Laine Yeo

Reply to: Possible to use conditions for different chapters of same book?

I don't think the DITA 1.2 keyref feature, or any other feature of DITA 1.2, would be of use for this particular scenario. The draft DITA 1.2 spec says, “A root map and its directly addressed, local scope descendant maps establish a unique key space within which each unique key name has exactly one binding to a set of resources.” In other words, you can't define a key in different ways for different chapters within a bookmap.

I did some testing with DITA Open Toolkit 1.5 and its behaviour was consistent with what the spec says. The ideas that gcrews suggests are your best bet.

Cheers,
Su-Laine

Reply

Products
Downloads
Support