[xml] XML Data Typing with libxml

Date view Thread view Subject view Author view

From: Gary Pennington (Gary.Pennington@uk.sun.com)
Date: Tue Feb 06 2001 - 03:57:41 EST


Hi,

I'm looking for some advice, and this seems like a good place to start.
It's not strictly a libxml question, but it kind of is, so apologies for
wasting bandwidth if this is considered off-topic.

I'm using libxml to manipulate XML documents and I need to add some
support for data typing and validation. Fairly simple stuff initially,
e.g. attribute must be numeric, and then some more complex validations,
e.g. attribute must be numeric and a minumum value of A and a maximum
value of B.

What's the best approach to take with libxml?

Options under consideration include :-

1. Roll my own scheme with DTDs.
2. SOX
3. XML-DATA
4 XML Schema

My main criteria for selection are, simplicity and availability.

Thanks for any pointers,

Gary

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Feb 06 2001 - 04:43:39 EST