Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 91092
BY: Lars Haugseth (lhz)
DATE: 2009-10-19 15:21
SUBJECT: Adding !DOCTYPE and processing instructions

 

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.


Thread View

Thread Author Date
Adding !DOCTYPE and processing instructionsLars Haugseth2009-10-19 15:21

Post a followup to this message