Presentation is loading. Please wait.

Presentation is loading. Please wait.

Use of XML in the Baltic Sea Fisheries database Peter Sandbeck Danish Institute for Fisheries Research.

Similar presentations


Presentation on theme: "Use of XML in the Baltic Sea Fisheries database Peter Sandbeck Danish Institute for Fisheries Research."— Presentation transcript:

1 Use of XML in the Baltic Sea Fisheries database Peter Sandbeck Danish Institute for Fisheries Research

2 Presentation - Baltcom data exchange system - ICES format versus XML format - XML schema and data validation - Distributed system

3 Baltcom project Country DB ICES format ICES To XML Upload XML format XML schema Baltcom DW zip

4 Baltcom data structure TYPE 1: Record with detailed haul information TYPE 2: Length frequency data TYPE 3: Sex-maturity-age-length keys (SMALK's)

5 ICES format SPECIFICATIONS FOR RECORD TYPE 1 (Haul information) POSITIONNAMETYPEM/O*RANGE Record type2AM 3-5Country3AM 6-7Year2NM00 to Journey4NM1 to Station no3NM1 to 999, Month2NM1 to 12

6 ICES format, example HHDEN S OTM G HLDEN OTM discard HLDEN OTM discard HLDEN OTM discard HLDEN OTM discard HLDEN OTM discard HLDEN OTM discard HLDEN OTM discard HLDEN OTM discard HLDEN OTM landing

7 XML schema, structure

8 XML schema, key data

9 XML range and pattern

10 XML validation, enumeration

11 XML example

12 XML advantages Datafiles are more readable (using XML editor) Data can be outputted in any format using XSLT Data format can easily be changed Data validation via XML schema Easy upload/download to databases

13 Distributed system DW 1 Load Database 1 Web service DW 2 Load Database 2 Web service DW 3 Load Database 3 Web service Internet


Download ppt "Use of XML in the Baltic Sea Fisheries database Peter Sandbeck Danish Institute for Fisheries Research."

Similar presentations


Ads by Google