On 2/4/07, TRANS <[EMAIL PROTECTED]> wrote: > Would your app choke if you put a " " in there? All I could think of > off the top of my head. > > T.
I tried TRANS's hack, and it turns out just setting content = "" forces libxml to output the matching end tag. Unfortunately, the program I have is still barfing on the input. The output generated is now *exactly* the same as the input file, except for one tiny difference: input: <foo> <bar>baz</bar> </foo> libxml output: <foo><bar>baz</bar></foo> And that tiny difference seems to cause the xml parser in the program to die. Is there some way to tell libxml to add in useless whitespace like that? Thanks for all the help so far, Emmett _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel