Does anyone know of a data type library for standard SQL datatypes.
What I have in mind is beling able to say something like

element employee-name { sql:varchar {len = "20" }}

to specify SQL compliant content.
It seems like it could be fairly straight forward to do this
using xsd datatypes and regeexps,
I have a suspicion that there are subtle corner cases to be dealt with
to get a trully accurate mapping.
Since XML content is often input to and output from databases,
i am hoping somebody has already done it

cheers
Daniel

Reply via email to