Thanks for this interesting reply. Yes, indeed; from a DITA point of view, each topic ought to be considered as standalone … but from an authoring point of view, all sorts of things could usefully be inherited from the top-level container. (which is already the case for keywords: I use a keyword "product" in lots of topics, and it is resolved from the map)
So an alternative question would be, how do I configure my installation of XML Mind so that the default value for xml:lang is en-GB? N -----Original Message----- From: Leif Halvard Silli [mailto:verktyst...@russisk.no] Sent: dinsdag 21 januari 2020 21:59 To: xmleditor-support@xmlmind.com Cc: Grundtvig Nielsen Niels Subject: Re: [XXE] xml:lang If we consider the DITA philosophy, then each topic file is meant to be - kind of - standalone. Hence it makes sense that one has to specify the language for each topic file = each root file. This is also very much in line with how XML generally works and genereally is expected to work. That said ... Had XMLmind XML editor somehow automagically - whenever you create a new topic file - placed a specific xml:lang="value" attribute in the topic file’s root element whose "value" is picked from from the bookmap, then that would have been a innovative thing and fully non-controversial thing. However, such thing would mean that, for each topic, XXE would have to know what the topics map file is. And, again, the topics of e.g. a manual, are meant to be authored in a distributed kind of way. You do not need to have planned the topic map when you author the topic. That said ... I would not mind some innovation. However, XXE allready allows you to make your own templates, which could contain the xml:langue="value" you want. Leif Halvard Silli On 17 Jan 2020, at 12:12, Hussein Shafie wrote: > On 01/17/2020 11:11 AM, Grundtvig Nielsen Niels wrote: >> Good morning! happily documenting, and then my eye is caught by an >> unexpected wiggly underline … >> >> >> >> · the .bookmap is set to <bookmap xml:lang="en-GB"> and as >> master document >> >> [en-GB shown as a valid example on >> https://www.w3.org/TR/REC-xml/#sec-lang-tag] >> >> · topics have no xml:lang set >> >> · a characteristically en-GB /-our/ spelling in a topic is >> being >> flagged as incorrect >> >> >> >> What have I missed? I thought the setting of the .bookmap was >> inherited >> by the topics. >> > > Sorry but this is not the case. Setting xml:lang="en-GB" on bookmap > declared as being a master document has no effect whatsoever on the > language of its topic modules. > > Excerpts from > https://www.xmlmind.com/xmleditor/_distrib/doc/help/toolsMenu.html: > --- > By grouping a master document and its module documents, you inform > XMLmind XML Editor (XXE) that all the module documents referenced or > included, directly or indirectly, by the master document are related. > When XXE knows that some of the opened documents are related: > > * it will more thoroughly check the cross-references which may > exist between these documents; > > * it will make it easier creating cross-references between these > documents; > > * it will make it easier following cross-references between these > documents; > > * if a DITA map contains key definitions, then this map acts not > only as a cross-reference creation/validation context for its topics, > but it also acts as a key space; > > * if the "Easy Profiling" add-on has been installed, then the > conditional processing profile selected for the master document is > automatically shared by all module documents; > > * if the document view area is split in two parts, the module > documents opened from a master document will appear at the opposite of > this master document. This allows to use the view of the master > document as a rudimentary navigation pane. > --- > > -- > XMLmind XML Editor Support List > xmleditor-support@xmlmind.com > https://www.xmlmind.com/mailman/listinfo/xmleditor-support ********************************************************************************************* Worldline is a registered trade mark and trading name owned by Worldline through its holding company. This e-mail and the documents attached are confidential and intended solely for the addressee. If you receive this e-mail in error, you are not authorized to copy, disclose, use or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended or lost, they are not secure. Worldline therefore can accept no liability for any errors or their content. Although Worldline endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Worldline by email. -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com https://www.xmlmind.com/mailman/listinfo/xmleditor-support