It works perfectly! Thanks a lot (it's more than a week that I'm going
crazy with those problems!! :D)!!!!
                             Roberto

Alberto Massari wrote:
> You need to turn on the feature XMLUni::fgDOMWRTFormatPrettyPrint on the
> DOMWriter object (the sample has it disabled by default, but can turn it
> on by specifying the -wfpp=on option on the command line.
> 
> Alberto
> 
> Roberto Rigamonti wrote:
>> Hi, I've missed the CreateDOMDocument example :D
>> Merging those two samples I was able to correctly create the Schema,
>> thank you very much!! :)
>> I've also noticed that the segfaults were caused by an incorrect
>> handling of pointers due to the continuous cut&paste over samples.
>> Now only a simple question remains open for me: how can I correctly
>> format the resulting document? I mean, I found no way to correctly
>> insert newlines in the document: I've tried using the setNewLine()
>> method of DOMWriter passing "\n" and "\r\n" (even if I'm under Linux),
>> but none of them works...
>> Thank you again for your help!
>>                               Roberto

Reply via email to