Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Info |
---|
The following namespaces and version must be included in the start tag of the root element of each document:
|
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="utf-8"?> <ORDERRESPONSE xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opentrans.org/XMLSchema/2.1" version="2.1"> <ORDERRESPONSE_HEADER> ... </ORDERRESPONSE_HEADER> <ORDERRESPONSE_ITEM_LIST> ... </ORDERRESPONSE_ITEM_LIST> </ORDERRESPONSE> |
Element specific namespaces
Info |
---|
XML elements which have the remark BMEcat NS in the data type require the xmlns attribute: |
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Variant 1: Namespace in the start tag of the element:
|
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="utf-8"?> <ORDERRESPONSE xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opentrans.org/XMLSchema/2.1" version="2.1"> ... <PRODUCT_ID> <SUPPLIER_PID xmlns="http://www.bmecat.org/bmecat/2005">A375-129</SUPPLIER_PID> <INTERNATIONAL_PID xmlns="http://www.bmecat.org/bmecat/2005">09783404175109</INTERNATIONAL_PID> <BUYER_PID xmlns="http://www.bmecat.org/bmecat/2005">6406567</BUYER_PID> </PRODUCT_ID> ... </ORDERRESPONSE> |
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Variant 2: Alternative implementation of the
|
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="utf-8"?> <ORDERRESPONSE xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opentrans.org/XMLSchema/2.1" xmlns:bmecat="http://www.bmecat.org/bmecat/2005" version="2.1"> ... <PRODUCT_ID> <bmecat:SUPPLIER_PID type="supplierProductKey">A375PID>A375-129</bmecat:SUPPLIER_PID> <bmecat:INTERNATIONAL_PID type="gtin">09783404175109<PID>09783404175109</bmecat:INTERNATIONAL_PID> <bmecat:BUYER_PID type="DgProductId">6406567<PID>6406567</bmecat:BUYER_PID> </PRODUCT_ID> ... </ORDERRESPONSE> |