I'm creating an XML document from scratch, and
outputting this using #to_s or #save. Now I need
to add a !DOCTYPE header above the root element,
and a couple of processing instructions <?foo ...>
as well. Is there any way to do this with LibXML for Ruby? I have looked around the documentation but
failed to find anything relevant.
|