Revision [1720]

Last edited on 2011-05-31 12:52:01 by DavidLee
Additions:
w=stax:newStreamWriter()
stax:writeStartDocument $w
stax:writeStartElement $w QName( xmlsh http://www.xmlsh.org/test1 test )
stax:writeNamespace $w xmlsh2 http://www.xmlsh.org/test2
stax:writeAttribute $w QName( xmlsh2 http://www.xmlsh.org/test2 a1) value1
stax:writeCharacters $w "Some Characters"
stax:writeComment $w "This is a comment"
stax:writeStartElement $w inner
stax:writeCData $w "This is CData"
stax:writeEndElement $w
stax:writeEndElement $w
stax:writeEndDocument $w
stax:closeWriter $w
Deletions:
reader=stax:newEventReader( file.xml )


Revision [1719]

The oldest known version of this page was created on 2011-05-31 12:51:19 by DavidLee
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki