ForAll
Ruft die Kindelemente für alle Daten-Elemente auf, die auf das Muster bei
select
passen.
Kindelemente
Action
,
AddSearchpath
,
Attribute
,
B
,
Barcode
,
Bookmark
,
Br
,
Column
,
Columns
,
Copy-of
,
DefineColor
,
DefineFontalias
,
DefineFontfamily
,
DefineTextformat
,
Element
,
Fontface
,
ForAll
,
Frame
,
Group
,
HSpace
,
Hyphenation
,
I
,
Image
,
Include
,
Initial
,
InsertPages
,
Layout
,
Li
,
LoadDataset
,
LoadFontfile
,
Loop
,
Message
,
NewPage
,
NextFrame
,
NextRow
,
Options
,
Output
,
Pageformat
,
Paragraph
,
PlaceObject
,
PositioningArea
,
PositioningFrame
,
ProcessNode
,
SaveDataset
,
SavePages
,
SetGrid
,
SetVariable
,
SortSequence
,
Span
,
Sub
,
Sup
,
Switch
,
Table
,
TableNewPage
,
Tablehead
,
Tablerule
,
Td
,
Tr
,
Trace
,
U
,
Until
,
Value
,
While
Elternelemente
AtPageCreation
,
AtPageShipout
,
B
,
Case
,
Color
,
Columns
,
Contents
,
Element
,
Fontface
,
ForAll
,
I
,
Li
,
Loop
,
NoBreak
,
Otherwise
,
Pagetype
,
Paragraph
,
Record
,
SaveDataset
,
SavePages
,
SetVariable
,
Span
,
Table
,
Tablefoot
,
Td
,
Text
,
Textblock
,
Tr
,
U
,
URL
,
Ul
,
Until
,
While
Attribute
limit
(Zahl, optional)
-
Die Anzahl der Kinder wird durch die Zahl begrenzt.
select
(XPath-Ausdruck)
-
Wählt die Kindelemente aus.
start
(Zahl, optional, seit Version 2.3.67)
-
Der erste Eintrag der verarbeitet werden soll. Voreinstellung ist 1.
Beispiel
<Record element="data">
<PlaceObject>
<Table>
<ForAll select="eintrag">
<Tr><Td><Paragraph><Value select="string(.)"></Value></Paragraph></Td></Tr>
</ForAll>
</Table>
</PlaceObject>
</Record>
Erzeugt eine Tabellenzeile für alle Elemente
eintrag
im Datensatz
data
. So müsste in etwa ein entsprechender Eintrag in den Daten aussehen:
<data>
<eintrag>a</eintrag>
<eintrag>b</eintrag>
<eintrag>c</eintrag>
</data>
Siehe auch
Den Abschnitt über
Datenstrukturierung.