Nikolay Rastegaev wrote: > You wrote as first item in "Other limitations and specificities" contains: > (http://www.xmlmind.com/ditac/_distrib/doc/manual/limitations.html#limitations) > > "The inheritance of metadata (e.g. author) and attributes (e.g. > audience) between maps and topics is almost certainly not conforming. > (The reason for this limitation is that the implementors of ditac > didn't really understand the specification of this feature.) " > > > The inheritance maybe used for translation: > 1. define otherprops="en" attribute in topic prolog element > This must be processed as all topic content has otherprops attribute > equals "en" (as described in OASIS DITA v1.1 Architectural Spec > "Conditional processing attributes" page 42) > 2. define otherprops="other lang code" attribute for translated topics > elements > 3. create ditaval-file with: > <prop action="exclude" val="en"> > 4. convert document (to PDF, for example) > > This is unusual approach, and If you advice me how I can authoring > content in two language in a topic file and then > filter only one (original and translation) for document conversion. > I try filter by "xml:lang" attribute :-) but it's not work :-), > unfortunately it's not a processing attribute. >
xml:lang does not work because it belongs to the XML namespace. This is documented here: http://www.xmlmind.com/ditac/_distrib/doc/manual/limitations.html#limitations --- Conditional processing ... * Any attribute whose name does not belong to a namespace, that is, not only audience, platform, product, rev, otherprops and props, can be used to filter or flag an element. --- However because the XML namespace is guaranteed to be always defined, we'll try to remove this limitation in the patch release we intend to release in the next few days.

