XML stream as list of item replace?
Author: dammie@seznam.cz (dammie)
Hello, I started to think that I could replace list of items by XML streams... First: I try to learn but even my stupid examples didnt work:
variables
xmlStream [dtd:x.dict] x
endvariables
FIELD="HELLO WORLD" ; data to add to xmlstream
xmlsave/dtd x, "dtd:X.DICT","TEST=DUMMY·;A=FIELD"
putmess x
IN message is text "hello world" missing ....
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X [
<!ELEMENT X (TEST.TEST*)>
<!ELEMENT TEST.TEST (A.TEST.TEST?)>
<!ELEMENT A.TEST.TEST (#PCDATA)>
]>
<X>
</X>
Second: Is there any other acces to xmlstream than xmload, xmlsave to components? I mean direct acces (eg. to list with putitem-getitem)
THanks David