...
An example configuration can be seen below where the different properties are defined in SampleProperties.csv and the custom value type "SOURCE" in Bron.csv. By using %<column>% there can be referred to the content of the columns in the csv file.
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <sampleMetadataSchema xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/sampleMetadataSchema.xsd"> <valueTypes> <string id="TEXT"/> <enumerationsCsvFile> <file>Bron.csv</file> <id>SOURCE</id> <code>%BRON%</code> <label>%NAME%</label> </enumerationsCsvFile> </valueTypes> <properties> <propertiesCsvFile> <file>SampleProperties.csv</file> <charset>UTF-8</charset> <id>%id%</id> <name>%name%</name> <valueTypeId>%valueTypeId%</valueTypeId> </propertiesCsvFile> </properties> </sampleMetadataSchema> |
...