|
Is there a way to make an XMLDocument from a string? I want to do
something like this
XMLDocument new parseDocumentFrom: '<root><child>wah</child></root>'
but #parseDocumentFrom: takes a stream as an argument. I tried
creating a TextStream from the string, then a ReadStream on that, but
that didn't work.
Thanks in advance for any help.
- Bob Erb
|