XML-Schema with XQUERY?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

XML-Schema with XQUERY?

Arkadiusz Binder
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: [hidden email] tel. 600064251

Stowarzyszenie Rozwój i Praworządność 
80-232 Gdańsk ul. Jana Matejki 11
KRS: 000497074 REGON: 222043144 NIP: 9571072598
[hidden email]      [hidden email]     Tel: 58 7277070













Reply | Threaded
Open this post in threaded view
|

Re: XML-Schema with XQUERY?

Michael Kay

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


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:


Saxon also has the ability to export an XML representation of the schema component model, described here:


Michael Kay
Saxonica
+44 (0) 118 946 5893




On 12 Aug 2014, at 01:26, Arkadiusz Binder <[hidden email]> 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: [hidden email] tel. 600064251

Stowarzyszenie Rozwój i Praworządność 
80-232 Gdańsk ul. Jana Matejki 11
KRS: 000497074 REGON: 222043144 NIP: 9571072598
[hidden email]      [hidden email]     Tel: 58 7277070