This page is a work in progress by the Standards & Guidelines Committee's /wiki/spaces/SGC/pages/59703357.
Introduction
Units of Measure in AgGateway Open Standards
AgGateway Open Standards specifies use of UN/CEFACT Rec 20.
Consider the following AgGateway Open Standards XML document:
Measurement XML
<?xml version="1.0" encoding="UTF-8"?> <Measurement xmlns="urn:cidx:names:specification:ces:schema:all:5:3"> <MeasurementValue>50</MeasurementValue> <UnitOfMeasureCode Domain="UN-Rec-20">BG</UnitOfMeasureCode> </Measurement>
Units of Measure in AGIIS
AgGateway's AGIIS service supports...
Units of Measure in AgXML
Consider the following AgXML XML document:
<?xml version="1.0" encoding="UTF-8"?> <QualityFactorValue xmlns="urn:www.agxml.org:schemas:all:4:0" unitOfMeasure="GL">1000.00</QualityFactorValue>
Line 1 simply indicates that the content is XML. The remaining lines contain a single element, QualityFactorValue with an attribute unitOfMeasure. Line 3 specifies the default namespace, to which the element belongs.