Andrew Patterson wrote:
You have the source code available, so please consider using it. ;-)

Doh! Sorry, I just downloaded the source too to get the sample -- should have looked in there :P So how then can I turn a string into a DOM tree? Is it simply not possible to parse a string into a DOM tree (yet?) or is there some other way I should be doing this?


Sure you can, you just can't use DOMBuilderImpl::parseWithContext(). Just use the regular parse() member function:

DOMDocument* DOMBuilderImpl::parse(const DOMInputSource& source)

Dave

Reply via email to