Table of Contents

<vte:attribute>

Ads attribute with name and calculated value to direct ancestor tag. Value is trimmed before adding.

Attributes:

name [string] - name of the attribute to alter

<div><vte:if test=”{index} != 1”>
<vte:attribute name=“style”>display:none;</vte:attribute>
</vte:if></div>
This will try to add style attribute to vte:if tag!!

Example

<div>
    <vte:attribute name="style">
        <vte:if test="{index} != 1">display:none;</vte:if>
    </vte:attribute>
</div>
 
devdoc/vte/attribute.txt · Last modified: 2008/11/06 11:36 by milana
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki