Skip to the content
Documentation

attribute_view_gui

No ratings yet

we know ,if we use this function .the system will insert a tag-<p> automatically! but i do not need this tag! but i want to display a object of XML.and i do not need <p>.so what i should do!?

Comments (2 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: attribute_view_gui

    xuefeng_lee ·

    i guess you mean is :you use "attribute_view_gui" to display a XML,but template in ez can insert a <p> tag automatically.but you do not need a <p>. that is a question ,let me have a think

    1. Re: Re: attribute_view_gui

      Gaetano Giunta ·

      The system does not automatically insert a <p> tag.
      The tag is part of the attribute-level template.
      To produce xml you have to:
      - create different, xml templates, for the attribute types you need. You can set them for use eg. in a new view, called xml
      - call attribute_view_gui adding the 'view' parameter:
      {attribute_view_gui view = xml attribute = $item}
      see also the ggxmlview extension on projects.ez.no