On 03/18/2018 04:56 PM, Leif Halvard Silli wrote:
* “XML list item”, where is this kind of ”item” (which the F & R tool
operates with) defined?
In the elemend Find & Replace tool, the options for searching inside
attributes include the option of searching for an “item”. The ”item” is
(in the status bar message) explained as an ”XML list item”. And, again
according to the status message, an item ”may not be empty and may not
contain space characters”.
I assume that by “space characters”, it is meant the XML white space
characters: space (#x20) characters, carriage returns, line feeds, or
tabs. Also known as #x20 | #x9 | #xD | #xA. See
https://www.w3.org/TR/xml/#sec-common-syn.
To the degree that I have understood the concept, I think “item” makes
sense. But what confuses me is when the definition is augmented to an
”/XML list/ item”, since the XML 1.0 spec has no concept of ”XML list
item”.
An item has typically a NMTOKEN data type, while the list (e.g. the
attribute value) has an NMTOKENS data type. See
https://www.w3.org/TR/xml/#NT-Nmtokens
This very useful feature of the "Find and Replace Element" dialog box is
best explained by this example:
Example 9.1. DocBook example: change the ID of an element and update all
links to this element
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmledit.cmd.xsearch.SearchReplaceDialog.html#d0e16735
Please feel free to translate ”XML list item” to Norwegian the best you
can. I mean, a very faithful translation is not required here.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support