cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lechael" <lechael...@hotmail.com>
Subject Silly Question NO5: <wb:case>
Date Fri, 30 Apr 2004 20:24:45 GMT

 There is a <wb:case> in "action-class", what are the two values it compares with  ?
here, it inserts a node: <wd:action/>, which has a namespace of "wd" where is this node
inserted, what does the following <wb:struct> do?

  <wb:class id="action-class">
    <wb:case id="action" path=".">
      <wb:insert-node>
        <wd:action/>
      </wb:insert-node>
      <wb:struct id="action" path="wd:action">
        <wb:value id="label" path="wd:label"/>
        <wb:value id="id" path="@id"/>
      </wb:struct>
    </wb:case>
  </wb:class>

Mime
View raw message