General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Order of elements in find/replace dialog drop-downs

  • tonys

    Order of elements in find/replace dialog drop-downs

    Participants 0
    Replies 1
    Last Activity 12 years, 2 months ago

    What determines the order in which elements appear in the drop-down lists in the Find/Replace dialog?

    The elements appear in alphabetical order for a document using the DocBook DTD, but for another document that uses a proprietary schema the order is not terribly useful (see attached). I think this order is basically the order in which elements appear in the schema.

    Is this a basic difference between DTDs and schemas, and is there a way to change it?

    Thanks,
    Tony S.

    Reply

    Derek Read

    Reply to: Order of elements in find/replace dialog drop-downs

    DTD is definitely sorted. The behavior for W3C Schema seems to be unsorted, and likely as they are declared.

    There would be no way to alter this behavior given the current software functionality. If you would like to add some feature to control this (beyond simply always having the list sorted) I would suggest discussing the exact needs with XMetaL Support.

    I do see right away that attempting to find an element for DocBook (Schema) in particular would be quite difficult due to the enormous number of elements allowed in that Schema and it makes sense to just always sort this list alphabetically (for all Schemas). I will file that as a request.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support