XML Script logo
Simple data element lookup (_foreach)
Code
<_data >
	<only3305 content="Attribute 1" ><content >Element content 1 </content></only3305>
	<only3305 content="Attribute 2" ><content >Element content 2 </content></only3305>
	<only3305 content="Attribute 3" ><content >Element content 3 </content></only3305>
	<only3305 content="Attribute 4" ><content >Element content 4 </content></only3305>
</_data>
<_foreach content="Foreach attribute content" element="only3305" >Attr: # .content # Obj: # content #
</_foreach>
Output
Attr: Attribute 1 Obj: Element content 1 
Attr: Attribute 2 Obj: Element content 2 
Attr: Attribute 3 Obj: Element content 3 
Attr: Attribute 4 Obj: Element content 4 
Ref

x.3305

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited