Breadcrumb
Wiki Home
JART
JART Syntax
art:with-node
Tools
Sitemap
Einzel Pdf
Struktur Pdf
Mein Wiki
Wiki Manager
Abmelden
Neu
Aktualisiert
art : date
guido
RTReport
v4-indexer-l
Schema Actions
Update 2013-10-28
v3-zu-v4
Report Designer
v4-indexer
Update-2013-11-06

art:with-node

jart.handlers.control.With

Beschreibung

art:with-node erlaubt das Ansprechen von XML-Knoten mittels XPath von jeder Stelle im Code aus.

Attribute

Globale Attribute

@ select (erforderlich)

Das "select"-Attribut legt fest welche XML-Knoten selektiert werden sollen.

Beispiele

<art:plain name="data">
   <art:for from="1" to="3" increment="1">
      <art:plain name="node" /> 
   </art:for>
   <art:with-node select="/*/node">
      <art:attribute value="Hello World!" name="attr" /> 
   </art:with-node>
</art:plain>

Ergebnis (XML):
<data>
   <node attr="Hello World!" /> 
   <node attr="Hello World!" /> 
   <node attr="Hello World!" /> 
</data>