Commit cdb98e80 by Patryk Czarnik

schema dla walut

parent 17eada40
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="ArrayOfExchangeRatesTable">
<xs:complexType>
<xs:sequence>
<xs:element name="ExchangeRatesTable" type="Tabela" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="Tabela">
<xs:sequence>
<xs:element name="Table" type="xs:string"/>
<xs:element name="No" type="xs:string"/>
<xs:element name="EffectiveDate" type="xs:date"/>
<xs:element name="Rates">
<xs:complexType>
<xs:sequence>
<xs:element name="Rate" type="Rate" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Rate">
<xs:sequence>
<xs:element name="Currency" type="xs:string"/>
<xs:element name="Code" type="xs:string"/>
<xs:element name="Mid" type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ArrayOfExchangeRatesTable> <ArrayOfExchangeRatesTable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="waluty.xsd">
<ExchangeRatesTable> <ExchangeRatesTable>
<Table>A</Table> <Table>A</Table>
<No>001/A/NBP/2022</No> <No>001/A/NBP/2022</No>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment