- From: Michael Kay <mike@saxonica.com>
- Date: Tue, 12 Aug 2014 16:12:04 +0100
- To: Arkadiusz Binder <arkadiusz.binder@rip.org.pl>
- Cc: public-qt-comments@w3.org
- Message-Id: <088575D8-BC0F-47D6-9320-BE09E1466A61@saxonica.com>
The XSD specification includes a schema component model in very abstract terms, and I think that what you are asking for is an API to access this component model from XQuery. Hopefully I have understood your requirement correctly. There's no W3C specification for such an API. The closest thing available is Schema Component Designators, see http://www.w3.org/TR/xmlschema-ref/ but this doesn't directly give you access from XQuery. Other (non-W3C) solutions that you might like to look at are the Java API for schema components (implemented in Xerces), and Saxon's extension library providing access to schema components from XSLT and XQuery, described here: http://www.saxonica.com/documentation/index.html#!functions/saxon/schema Saxon also has the ability to export an XML representation of the schema component model, described here: http://www.saxonica.com/documentation/index.html#!schema-processing/scm Michael Kay Saxonica mike@saxonica.com +44 (0) 118 946 5893 On 12 Aug 2014, at 01:26, Arkadiusz Binder <arkadiusz.binder@rip.org.pl> wrote: > Hello! > > We are trying to work with form (add/edit/read) forms only with previously created models with XML-SCHEMA. > > To success the work we do dynamic creating XML-SCHEMA with possible ENUMERATIONS that can be used as a products etc. > > Than we can use amiable dynamic forms XML-SCHEMA based, who satisfy the edit/data and single check of secure (also we test if somebody ordered product that is in stock which is based on schema). But that is not effective method. > > We are looking for technology (working group), where we can go that way further. We considered of some extend for XML-SCHEMA to map some objects to XQUERY or another possible relations of them. > We cannot see it in the specifications of XML-SCHEMA to make such models. We also want to tight some objects of XML-SCHEMA to exactly fields in databases, which will be parsed by READ/WRITE/ADD engine. > > Can you link me some threads about it ? We are doing some research on that. We did own framework which is object-oriented with process permissions to database fields. Now we want to make permissions for pure XML-SCHEMA objects. > > -- > Arkadiusz Binder > - Członek Komisji Wyższej > > mail: arkadiusz.binder@rip.org.pl tel. 600064251 > > Stowarzyszenie Rozwój i Praworządność > 80-232 Gdańsk ul. Jana Matejki 11 > KRS: 000497074 REGON: 222043144 NIP: 9571072598 > biuro@rip.org.pl http://rip.org.pl Tel: 58 7277070 > > > > > > > > > > > > >
Received on Tuesday, 12 August 2014 15:12:35 UTC