Skip to content

BitCurator/bitcurator-md

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bitcurator-md

BitCurator Metadata Handling

Extracting Schema Metadata into a CSV

The xslt/schema2csv.xsl script can be used to produce a CSV file with a row of information for each element extracted from the XML Schema definition file. See the csv/dfxml.csv file in this repository for an example.

$ xsltproc xslt/schema2csv.xsl dfxml.xsd

The script produces values for the following columns:

  • Tag name
  • Element name
  • Description
  • May contain
  • May occur in
  • Attributes
  • Allowable values
  • Repeatable?
  • Mandatory?

The "Example" column is present, but the script will not place any content there due to the lack of examples in the source XML Schema.

About

BitCurator Metadata Handling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • XSLT 100.0%