I forgot to send this to the xerces-c-dev list when I sent it to xerces-p.. -- #ken P-)} Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/ Apache Software Foundation http://www.apache.org/ "Apache Server for Dummies" http://Apache-Server.Com/ "Apache Server Unleashed" http://ApacheUnleashed.Com/
New to actually *using* XML and Xerces, so please be gentle.. I am probably missing some obvious pieces. I have three [basic] questions twith which I hope someone can help me.. I am using XML::Xerces::DOM_Document::createDocument() to create a DOM tree, and populating it with the appropriate calls as I process the data I want to represent. Knowing next to nothing about the DOM, I am essentially following the sample apps' example blindly. After completing the model, I am emitting it as XML using XML::Xerces::DOMParse::format() and XML::Xerces::DOMParse::print(). I am finding the Xerces-P and Xerces-C documentation pretty bloody opaque. For instance, one major facet it seems to be missing is *examples*.. 1. How can I set the additional pieces of the DOCTYPE from Xerces-P? I can set the name, but I do not see any way to set the SYSTEM/PUBLIC identifier keyword and the external subset URL. Trying to set them in the createDocumentType() call causes a segfault. :-) 2. How can I persuade the printing method to *not* turn " into " in my processing instructions??? 'type="text/css"' gets turned into 'type="text/css"' which is really annoying.. 3. How can I convince the printing/formatting method that *some* elements should not be newline-and-indented? This is adding incorrect whitespace. For instance, something that should be <foo>this is[<bar>something</bar>] to see</foo> is being emitted as <foo>this is[ <bar>something</bar>] to see </foo> The whitespace between '[' and '<bar>something' is screwing up the result. TIA! :-) -- #ken P-)} Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/ Apache Software Foundation http://www.apache.org/ "Apache Server for Dummies" http://Apache-Server.Com/ "Apache Server Unleashed" http://ApacheUnleashed.Com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
