cefn / allyourx

Ally is a client-side javascript validating xml editor based on the allyourx.org rich data authoring standard
http://allyourx.org
GNU General Public License v3.0
1 stars 0 forks source link

Test xml:id, xpath or schematron to implement joins #1

Open cefn opened 14 years ago

cefn commented 14 years ago

One thing which XML authoring environments are frequently missing is the means of selecting values for @ref attributes which match to the @id values of other elements.

This is equivalent to a foreign key in a database environment, and means a user interface should be able to dynamically populate the current valid values, using information read from the schema against that attribute or element to identify corresponding values drawn from an XML document.

The use of the 'xml:id' namespace and attribute may be worth exploring when building exploratory implementations. Schematron assertions are an alternative way to go.