<?xml version="1.0" encoding="UTF-8"?> <Order xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"> <cbc:UBLVersionID>2.1</cbc:UBLVersionID> <cbc:CustomizationID>Test</cbc:CustomizationID> </Order>
xmlport 50001 "xmlporttest" { Format = Xml; Caption = 'xmlport test'; Direction = Import; Encoding = UTF8; Namespaces = "" = 'urn:oasis:names:specification:ubl:schema:xsd:Order-2', xs = 'http://www.w3.org/2001/XMLSchema', cac = 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2', cbc = 'urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2'; UseRequestPage = false; DefaultNamespace = 'urn:oasis:names:specification:ubl:schema:xsd:Order-2'; UseDefaultNamespace = true; schema { textelement(orderheader) { MaxOccurs = Once; XmlName = 'Order'; textelement(UBLVersionID) { NamespacePrefix = 'cbc'; } // SourceTableView = sorting(Number) where(Number = filter(1 ..)); textelement(CustomizationID) { NamespacePrefix = 'cbc'; } } } }