Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

schema file, root element

example file

pi_branches.xsd, Branches

branches.xml


Example:
<?xml version="1.0" encoding="UTF-8"?>
<Branches xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews
pi_branches.xsd" version="1.1">
<geoDatum>LOCAL</geoDatum>
<branch>
<branchId>rhone3_24</branchId>
<branchName>A branch</branchName>
<startChainage>0</startChainage>
<endChainage>13</endChainage>
<pt x="12" y="31" chainage="0"/>
<pt x="18" y="36" chainage="9"/>
<pt x="22" y="38" chainage="12"/>
<pt x="24" y="33" chainage="18"/>
<pt x="37" y="0" chainage="13"/>
</branch>
<branch>
<branchId>rhone3_25</branchId>
<branchName>Another branch</branchName>
<startChainage>1</startChainage>
<endChainage>3</endChainage>
<pt x="37" y="0" chainage="0"/>
<pt x="40" y="40" chainage="1"/>
<pt x="45" y="55" chainage="2"/>
</branch>
</Branches>
The structure of the XML schema is given in the figures below. Note that attributes are not displayed in the figures. Consult the full schema (+documentation) for details.

...

schema file, root element

example file

pi_crosssections.xsd, CrossSections

xsection.xml


Example:
<?xml version="1.0" encoding="UTF-8"?>
<CrossSections xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews pi_crosssections.xsd" version="1.1">
<geoDatum>WGS-1984</geoDatum>
<crossSection>
<xSectionId>PR2</xSectionId>
<branchId>Mameyes2</branchId>
<xSectionName>Puento Rotto</xSectionName>
<chainage>10</chainage>
<x>18.3</x>
<y>1.0</y>
<xdata csy="21" z="18" roughness="0.4" mark="1"/>
<xdata csy="22" z="17" roughness="0.4" mark="2"/>
<xdata csy="245" z="18" roughness="0.4" mark="3"/>
</crossSection>
</CrossSections>
The structure of the XML schema is given in the figures below. Note that attributes are not displayed in the figures. Consult the full schema (+documentation) for details.