XML Script logo
Simple parsing
Code
<_data interpolate="yes" ><inputdata >This #foo# is #bar# to #blort# the operation of the parse tag!</inputdata></_data>
<_parse pattern="inputdata" >This 111 is 222 to 333 test the operation of the parse tag!</_parse>
#foo# #bar# #blort#
<_parse ><pattern >This #foo# is #bar# to #blort# the operation of the parse tag!</pattern><text >
This AAA is BBB to CCC test the operation of the parse tag!</text>
</_parse>
#foo# #bar# #blort#
Output

111 222 333 test

AAA BBB CCC test
Ref

x.2301

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