Version 1 (modified by 16 years ago) ( diff ) | ,
---|
First draft documentation
Simple concept presentation:
Metadata view :
- Get Metadata from DB
- Resolve XLink
- View via XSL
Metadata edit :
- Get Metadata from DB
- Resolve XLink
- (optional) XSD validation
- (optional) schematron validation
- Metadocument to be processed for editing
The XLink resolver is used before index, export, view, edit operation.
Metadata storage and XLink resolution
Metadata stored in DB:
<gmd:contact> <gmd:CI_ResponsibleParty xlink:href= »xml/codelist/CI_ReponsibleParty.xml#xpointer(//gmd:CI_ResponsibleParty[id='XXXX'])xmlns(gml=http://www.isotc211.org/2005/gmd) »/></gmd:contact> <gmd:contact>
Metadata after XLink resolver operation:
<gmd:CI_ResponsibleParty xlink:href= »xml/codelist/CI_ReponsibleParty.xml#xpointer(//gmd:CI_ResponsibleParty[id='XXXX'])xmlns(gml=http://www.isotc211.org/2005/gmd) »> <gmd:individualName gco:nilReason="missing"> <gco:CharacterString/> </gmd:individualName> <gmd:organisationName> ... </gmd:CI_ResponsibleParty> </gmd:contact>
XLink resolver
- search only XLinked tags
- handle missing fragement, timeout (not implemented yet)
- cache XLink fragment (not implemented yet)
Note:
See TracWiki
for help on using the wiki.