[xquery-talk] Validation, inspect type definitions of PSVI

John Snelson john.snelson at oracle.com
Thu Sep 20 11:11:58 PDT 2007

Hi Torsten,

Xerces-C will give you PSVI information in both SAX and DOM. It should 
be easy to write a command line program to output an annotated XML 
document like you want.


Torsten Grust wrote:
> Dear all,
> I'm looking for a validating parser that can expose the PSVI —
> the annotated type definition would be sufficient even — after
> successful validation of an input XML document.
> A command-line tool that, for example, serializes its input document
> annotated with xsi:type attributes would be just great, but I'll be
> grateful for any hint.
> Thanks and cheers,
>    --Torsten

John Snelson, Oracle Corporation
Berkeley DB XML:        http://www.oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net

More information about the talk mailing list