DDI-XSLT is a collection of xslt-stylesheets for transformation of DDI XML to other formats.
Test some of the transformations online
GNU Lesser General Public License 3.0
XSLT transformations for DDI XML-files to other formats
Home Page: https://metadatatransform.github.io/ddi-xslt/
DDI-XSLT is a collection of xslt-stylesheets for transformation of DDI XML to other formats.
Test some of the transformations online
GNU Lesser General Public License 3.0
Placeholder values in example XML document
Bug in transformations/fo/from-ddi-2.5
result:
export2.pdf
Include cmv-0.4.2.jar and run validation in the docker container after transformation.
Link to the pre-built jar:
https://nexus.cessda.eu/#browse/browse:maven-releases:eu%2Fcessda%2Fcmv%2Fcmv%2F0.4.2
A sequence of more than one item is not allowed as the first argument of normalize-space() ("Svensk valundersökning - Riksd...", "Svenska valundersökningarSwedi...") [at line 51, column 16]
xpath for DDI 2.5 to INSPIRE XML
Basic schema.org mapping for common fields from DDI 2.5 to schema.org XML/RDF
If there is a value in
//r:GeographicLocation/r:Values/r:GeographyValue[r:GeographyCode/r:Value[@codeListID="ISO3166-1"]]/r:GeographyName[@xml:lang="en"]
add a property called country
Add property called landingpage
if value can be found at:
//a:Archive/a:ArchiveSpecific/a:Collection/a:URI
Add DDI 2.5 to DDI-CDI to the demo page
#22
Hard coded values should be avoided.
Some example of hard coded values in the XSLT:
holdings:
qstn@xml:lang:
https://github.com/MetadataTransform/ddi-xslt/blob/master/transformations/cessda-eqb/from-ddi-2.5/ddi_2_5-cessda_eqb.xslt#L170
labl@xml:lang:
https://github.com/MetadataTransform/ddi-xslt/blob/master/transformations/cessda-eqb/from-ddi-2.5/ddi_2_5-cessda_eqb.xslt#L209
var@xml:lang:
https://github.com/MetadataTransform/ddi-xslt/blob/master/transformations/cessda-eqb/from-ddi-2.5/ddi_2_5-cessda_eqb.xslt#L136
Values should come for source XML document or via xsl:param
On the root level:
//d:ModeOfCollection/r:Content
//d:TimeMethod/r:Content
//d:SamplingProcedure/r:Content
Xpaths from DDI 2.5 to DCAT-AP
Develop tranformation for DDI 1.2.2 (nesstar) to DDI 3.2.
Does not need to cover all fields but could be useful for using DDI-C in DDI-L tools
Use CESSDA metadata profile for DDI-C and DDI-L
Update even needed for DDI Codebook transformation file?
Define mapping xpaths for DDI 2.5 to DIF XML
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.