On Fri, Jun 23, 2006 at 08:28:15PM +0100, David Kelvin wrote:
> Q. What would be the equivalent of the above in "libxml2"?
no idea, I don't know MS XML api nor the semantic of the code you pasted.
mayeb someone else does.
> I would like to build a 'minimal' version of libxml2.dll (under VS2005 -
> VC8) that just has enough in it to do what I require - SAX2, validation
> using a fixed specified external XSD schema (elements are only one of types:
> string, integer, date or time), some elements have attributes required or
> optional, most (but not all) character data is in CDATA blocks and, of
> course, parsing (startDocument, startElement, characters, endElement and
> endDocument). However, the file "configure.js" has so many options that I
> don't know which ones I need and which ones I can remove for my minimal
> libray.
>
> So my last question is:
>
> Q. Which options must I have to do what I want to do and which ones don't I
> need and can set to false?
You will need all the schemas/regexp start plus parser at least.
Unless you're really doing embedded systems I don't suggest to change the
default because you're just :
1/ entering MS compilation mess, for which only a few people
really answer on that list
2/ generate your own version of the package which can lead to
different behaviour, and unless you're on embedded systems
it's very hard to control and fix once deployed.
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
[EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml