General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Cleaning out the "Browse for a DTD Display"

  • Emily S

    Cleaning out the "Browse for a DTD Display"

    Participants 0
    Replies 1
    Last Activity 8 years, 11 months ago

    Hi! I'm working with XmetaL Author Editor 7.0, and I use multiple DTDs.  We have our files set up so that we  associate them with the correct DTD whenever we open them to edit. (Long story, but that's what we do.)

    When I get the “Rules not specified” pop up window, I choose the “Browse for a Rules File” option.  
    Then I open the “File name” drop down at the bottom, where all my previously-selected DTDs helpfully display.

    My question:
    How do I ***clear out*** that list of previously-selected DTDs, so that I can keep only the ones I want showing, and keep the very infrequently-used ones from cluttering things up?

    Thank you!  
    Emily Sweeney


    Derek Read

    Reply to: Cleaning out the "Browse for a DTD Display"

    What you are doing is really not a great idea, but it also sounds like you have decided for whatever reason that you wish to continue to work this way. I would strongly recommend setting things up using one of the following methods instead as it would make things a lot easier (particularly if you have multiple people using the software):
    a) alter your SYSTEM ids so they point to your DTD,
    b) or include a PUBLIC id and then create a catalog file containing mappings from PUBLIC to SYSTEM id values,
    c) or place your DTDs into the Rules subfolder (this is where XMetaL Author looks failing all other options). This is the easiest option for most people in your situation as it requires no changes to your XML or the use of a catalog.
    There are other options, including a scripting solution, but these are the simplest. Detailed information on how XMetaL Author locates schemas (DTD and XSD) is available here:

    Having said that, you can mess with the registry values inside the following key if you really want to, but be careful. These values are not set directly by XMetaL Author itself, they are set by Windows. XMetaL Author uses a standard Windows file browsing dialog for this functionality and it is that dialog that is doing the read/writes here.


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

Lost Your Password?