- Timestamp:
- 2020-06-14T18:57:36+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/tagging-preset.xsd
r16638 r16639 137 137 <attribute name="type" type="string"> 138 138 <annotation> 139 <documentation> 140 When specified, only objects of the given type will work with this tagging preset. Can be "node", "way", "closedway", "multipolygon", "relation" or any comma separated combination of them. Note that "multipolygon" is not included in "relation", so if the preset should apply for multipolygons and other relation types, you need to specify both: "multipolygon,relation". Also used in the <role>tag to specify which object types are allowed for a specific relation member.141 </documentation> 139 <documentation><![CDATA[ 140 When specified, only objects of the given type will work with this tagging preset. Can be "node", "way", "closedway", "multipolygon", "relation" or any comma separated combination of them. Note that "multipolygon" is not included in "relation", so if the preset should apply for multipolygons and other relation types, you need to specify both: "multipolygon,relation". Also used in the <role> tag to specify which object types are allowed for a specific relation member. 141 ]]></documentation> 142 142 </annotation> 143 143 </attribute> … … 170 170 <complexType name="optional"> 171 171 <annotation> 172 <documentation> 173 Used to group some optional elements of an item. The text attribute is optional. If used without text then this is equivalent to <space ><label text="Optional Attributes:" /><space />174 </documentation> 172 <documentation><![CDATA[ 173 Used to group some optional elements of an item. The text attribute is optional. If used without text then this is equivalent to <space ><label text="Optional Attributes:" /><space /> 174 ]]></documentation> 175 175 </annotation> 176 176 <group ref="tns:optional_elements" maxOccurs="unbounded" /> … … 205 205 <attribute name="id" type="ID" use="required"> 206 206 <annotation> 207 <documentation> 208 The unique identifier for this >chunk<.209 </documentation> 207 <documentation><![CDATA[ 208 The unique identifier for this <chunk>. 209 ]]></documentation> 210 210 </annotation> 211 211 </attribute> … … 254 254 <attribute name="value" type="string"> 255 255 <annotation> 256 <documentation> 257 Specify a value to be entered in the <key>tag.258 </documentation> 256 <documentation><![CDATA[ 257 Specify a value to be entered in the <key> tag. 258 ]]></documentation> 259 259 </annotation> 260 260 </attribute> … … 278 278 <complexType name="preset_link"> 279 279 <annotation> 280 <documentation> 281 Adds a link to an other preset with a label on top. The preset_name attribute is required, text to override the label (default is "Edit also …") and text_context are optional. A sequence of <preset_link />without text or a identical text value are grouped below one label. Watch out for presets with identical name as it is not predictable to which preset the link will lead to, see #12716.282 </documentation> 280 <documentation><![CDATA[ 281 Adds a link to an other preset with a label on top. The preset_name attribute is required, text to override the label (default is "Edit also …") and text_context are optional. A sequence of <preset_link /> without text or a identical text value are grouped below one label. Watch out for presets with identical name as it is not predictable to which preset the link will lead to, see #12716. 282 ]]></documentation> 283 283 </annotation> 284 284 <attribute name="preset_name" type="string" use="required"> … … 320 320 <attribute name="auto_increment" type="string"> 321 321 <annotation> 322 <documentation> 323 May contain a comma separated list of integer increments or decrements, e.g. "-2,-1,+1,+2". A button will be shown next to the <text />field for each value, allowing the user to select auto-increment with the given stepping. Auto-increment only happens if the user selects it. There is also a button to deselect auto-increment. Default is no auto-increment. Mutually exclusive with use_last_as_default.324 </documentation> 322 <documentation><![CDATA[ 323 May contain a comma separated list of integer increments or decrements, e.g. "-2,-1,+1,+2". A button will be shown next to the <text /> field for each value, allowing the user to select auto-increment with the given stepping. Auto-increment only happens if the user selects it. There is also a button to deselect auto-increment. Default is no auto-increment. Mutually exclusive with use_last_as_default. 324 ]]></documentation> 325 325 </annotation> 326 326 </attribute> … … 329 329 <attribute name="alternative_autocomplete_keys" type="string"> 330 330 <annotation> 331 <documentation> 332 A comma separated list of alternative keys to use for auto completion of >text<.333 </documentation> 331 <documentation><![CDATA[ 332 A comma separated list of alternative keys to use for auto completion of <text<. 333 ]]></documentation> 334 334 </annotation> 335 335 </attribute> … … 344 344 <complexType name="list_entry"> 345 345 <annotation> 346 <documentation> 347 Used in <combo/> and <multiselect/>. More information see short_descriptions below. The attributes are value, display_value, short_description, icon and icon_size.348 </documentation> 346 <documentation><![CDATA[ 347 Used in <combo/> and <multiselect/>. More information see short_descriptions below. The attributes are value, display_value, short_description, icon and icon_size. 348 ]]></documentation> 349 349 </annotation> 350 350 <attribute name="value" type="string" use="required" /> … … 353 353 <attribute name="short_description" type="string"> 354 354 <annotation> 355 <documentation> 356 A delimiter-separated list of texts to be displayed below each display_value. (Only if it is not possible to describe the entry in 2-3 words.) Instead of a comma separated list using values, display_values and short_descriptions, the following form is also supported: <list_entry value="" display_value="" short_description="" icon="" icon_size="" />357 </documentation> 355 <documentation><![CDATA[ 356 A delimiter-separated list of texts to be displayed below each display_value. (Only if it is not possible to describe the entry in 2-3 words.) Instead of a comma separated list using values, display_values and short_descriptions, the following form is also supported: <list_entry value="" display_value="" short_description="" icon="" icon_size="" /> 357 ]]></documentation> 358 358 </annotation> 359 359 </attribute> … … 434 434 <attribute name="columns" type="positiveInteger"> 435 435 <annotation> 436 <documentation> 437 the number of columns of grouped <check />438 </documentation> 436 <documentation><![CDATA[ 437 the number of columns of grouped <check /> 438 ]]></documentation> 439 439 </annotation> 440 440 </attribute> … … 447 447 <attribute name="value_on" type="string"> 448 448 <annotation> 449 <documentation> 450 Specify the true value to be entered in the <key />tag of a checked<check />(default is "yes").451 </documentation> 449 <documentation><![CDATA[ 450 Specify the true value to be entered in the <key /> tag of a checked <check /> (default is "yes"). 451 ]]></documentation> 452 452 </annotation> 453 453 </attribute> 454 454 <attribute name="value_off" type="string"> 455 455 <annotation> 456 <documentation> 457 Specify the false value to be entered in the <key />tag of a checked<check />(default is "no").458 </documentation> 456 <documentation><![CDATA[ 457 Specify the false value to be entered in the <key /> tag of a checked <check /> (default is "no"). 458 ]]></documentation> 459 459 </annotation> 460 460 </attribute> 461 461 <attribute name="disable_off" type="boolean"> 462 462 <annotation> 463 <documentation> 464 Whether the off value of a <check />is disabled in the dialog, i.e., only unset or "yes" are provided.465 </documentation> 463 <documentation><![CDATA[ 464 Whether the off value of a <check /> is disabled in the dialog, i.e., only unset or "yes" are provided. 465 ]]></documentation> 466 466 </annotation> 467 467 </attribute> … … 484 484 <simpleType name="last_default"> 485 485 <annotation> 486 <documentation> 487 For <combo />, <multiselect /> or <text />fields the last used value is used as default. Using "force" enforces this behavior also for already tagged objects. Default is "false".488 </documentation> 486 <documentation><![CDATA[ 487 For <combo />, <multiselect /> or <text /> fields the last used value is used as default. Using "force" enforces this behavior also for already tagged objects. Default is "false". 488 ]]></documentation> 489 489 </annotation> 490 490 <restriction base="string"> … … 509 509 </ul> 510 510 511 <p> 512 Note: For a match, at least one positive and no negative is required. Default is "keyvalue!" for <key>and "none" for<text />,<combo />, <multiselect /> and <check />.513 </p> 511 <p><![CDATA[ 512 Note: For a match, at least one positive and no negative is required. Default is "keyvalue!" for <key> and "none" for <text />, <combo />, <multiselect /> and <check />. 513 ]]></p> 514 514 </documentation> 515 515 </annotation> … … 597 597 <attribute name="default" type="string"> 598 598 <annotation> 599 <documentation> 600 An explicitly declared default value for the item. This value is only applied through a preset when the object the preset is applied to has zero keys. If no value for default is specified, no value is set to the key. Used in >check /<, >text /<, >combo /< and >multiselect /<.601 </documentation> 599 <documentation><![CDATA[ 600 An explicitly declared default value for the item. This value is only applied through a preset when the object the preset is applied to has zero keys. If no value for default is specified, no value is set to the key. Used in >check /<, >text /<, >combo /< and >multiselect /<. 601 ]]></documentation> 602 602 </annotation> 603 603 </attribute> … … 607 607 <attribute name="text" type="string"> 608 608 <annotation> 609 <documentation> 610 The description, that will be displayed before (after in case of >check /<) the gui element. Also used for>label< and >optional<.611 </documentation> 609 <documentation><![CDATA[ 610 The description, that will be displayed before (after in case of <check />) the gui element. Also used for <label> and <optional>. 611 ]]></documentation> 612 612 </annotation> 613 613 </attribute> … … 674 674 <attribute name="delimiter" type="string"> 675 675 <annotation> 676 <documentation> 677 The character that separates values. In case of <combo />the default is comma. In case of<multiselect />the default is semicolon and this will also be used to separate selected values in the tag.678 </documentation> 676 <documentation><![CDATA[ 677 The character that separates values. In case of <combo /> the default is comma. In case of <multiselect /> the default is semicolon and this will also be used to separate selected values in the tag. 678 ]]></documentation> 679 679 </annotation> 680 680 </attribute> … … 684 684 <attribute name="icon" type="string"> 685 685 <annotation> 686 <documentation> 687 A name or link to an icon. The image will be used as icon to display in the selection list and when adding the preset to the toolbar. Icons can also be used in >item>, >label /> and >list_entry />. The icon should be quadratic in size. See Icon handling how icons can be specified.688 </documentation> 686 <documentation><![CDATA[ 687 A name or link to an icon. The image will be used as icon to display in the selection list and when adding the preset to the toolbar. Icons can also be used in <item>, <label /> and <list_entry />. The icon should be quadratic in size. See Icon handling how icons can be specified. 688 ]]></documentation> 689 689 </annotation> 690 690 </attribute> 691 691 <attribute name="icon_size" type="integer"> 692 692 <annotation> 693 <documentation> 694 The maximal size of an icon in px. If no value is given, default is 16 for >label />and the default icon size for>list_entry /> (in >combo> and >multiselect>).695 </documentation> 693 <documentation><![CDATA[ 694 The maximal size of an icon in px. If no value is given, default is 16 for <label /> and the default icon size for <list_entry /> (in <combo> and <multiselect>). 695 ]]></documentation> 696 696 </annotation> 697 697 </attribute> … … 701 701 <attribute name="length" type="positiveInteger"> 702 702 <annotation> 703 <documentation> 704 The length of a >text /> or >combo />box (number of characters allowed).705 </documentation> 703 <documentation><![CDATA[ 704 The length of a <text /> or <combo /> box (number of characters allowed). 705 ]]></documentation> 706 706 </annotation> 707 707 </attribute>
Note:
See TracChangeset
for help on using the changeset viewer.