General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Feature Request: Inline Attribute tags View

  • Bradley Shoebottom

    Feature Request: Inline Attribute tags View

    Participants 2
    Replies 3
    Last Activity 10 years, 10 months ago

    We have 50+ XMetal authors that would find it useful to have an additional view to view the Attributes tags inline. Think of this as a Tags + View or Attributes Tags view that would not require us to look at the raw XML or have to pick our way through the Attribute inspector.
    You can reach me at [email protected] to discuss further.

    Reply

    Derek Read

    Reply to: Feature Request: Inline Attribute tags View

    This can be done by making modifications to the CSS files in your customization. However, this probably needs to be carefully designed so that you do overwhelm your authors with too much information. See: http://forums.xmetal.com/index.php/topic,925.0.html

    An alternative (in case you are not aware) is to hover over the tags of an element. When you do this XMetaL will show you the values for attributes that have values.

    Reply

    LeeHart

    Reply to: Feature Request: Inline Attribute tags View

    Related to this, here's a CSS I use for a lot of random XML files. It indents all elements and shows all attributes. It's rarely the best CSS but it's a usable view.

    *:before {
      color: #FF9900;
    }

    * {
      prefix-format: “[ %attribute-list; ] “;
      display: block;
      margin-left: 6pt;
      text-indent: -3pt;
    }

    Reply

    Derek Read

    Reply to: Feature Request: Inline Attribute tags View

    With a little bit of additional code you could also switch your regular CSS out for this one or something similar with the click of a button or menu item. There is an example of this in the DocBook demo:  Help > Samples > * (DocBook)

    Reply

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

Lost Your Password?

Products
Downloads
Support