Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
21
Task/XML-Output/TUSCRIPT/xml-output.tu
Normal file
21
Task/XML-Output/TUSCRIPT/xml-output.tu
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
$$ MODE TUSCRIPT
|
||||
STRUCTURE xmloutput
|
||||
DATA '<CharacterRemarks>'
|
||||
DATA * ' <Character name="' names +'">' remarks +'</Character>'
|
||||
DATA = '</CharacterRemarks>'
|
||||
ENDSTRUCTURE
|
||||
BUILD X_TABLE entitysubst=" >> > << < & & "
|
||||
ERROR/STOP CREATE ("dest",seq-o,-std-)
|
||||
ACCESS d: WRITE/ERASE/STRUCTURE "dest" num,str
|
||||
str="xmloutput"
|
||||
names=*
|
||||
DATA April
|
||||
DATA Tam O'Shanter
|
||||
DATA Emily
|
||||
remarks=*
|
||||
DATA Bubbly: I'm > Tam and <= Emily
|
||||
DATA Burns: "When chapman billies leave the street ..."
|
||||
DATA Short & shrift
|
||||
remarks=EXCHANGE(remarks,entitysubst)
|
||||
WRITE/NEXT d
|
||||
ENDACCESS d
|
||||
Loading…
Add table
Add a link
Reference in a new issue