自定义函数: xmlStripNameSpaces  ( _XML )

XML

函数功能描述
来源:
作者:
作者原述:
猫壹佰描述:
简化输出XML
测试文档下载:
调用范例
"<soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">
    <soap:Body><ProcessSalesInvoicesResponse xmlns=\"http://awebsitewithmoreinformation.com/\"><ProcessSalesInvoicesResult>
    <SalesInvoicesImportResponse xmlns=\"urn:xmlns:http://awebsitewithmoreinformation.com:processsalesinvoice\"><TimeStamp xmlns=\"\">2019-01-25</TimeStamp>
    <Succeeded xmlns=\"\">2</Succeeded><Failed xmlns=\"\">0</Failed><Skipped xmlns=\"\">0</Skipped>
    <Invoice xmlns=\"\"><Succeeded>true</Succeeded><Processed>true</Processed><Reference>XXXXXXX-1</Reference><Contact>XXXXXX 1</Contact></Invoice>
    <Invoice xmlns=\"\"><Succeeded>true</Succeeded><Processed>true</Processed><Reference>XXXXXXX-2</Reference><Contact>XXXXXX 2</Contact></Invoice>
    </SalesInvoicesImportResponse></ProcessSalesInvoicesResult></ProcessSalesInvoicesResponse></soap:Body></soap:Envelope>"
返回结果
<Envelope>     <Body><ProcessSalesInvoicesResponse><ProcessSalesInvoicesResult>     <SalesInvoicesImportResponse><TimeStamp>2019-01-25</TimeStamp>     <Succeeded>2</Succeeded><Failed>0</Failed><Skipped>0</Skipped>     <Invoice><Succeeded>true</Succeeded><Processed>true</Processed><Reference>XXXXXXX-1</Reference><Contact>XXXXXX 1</Contact></Invoice>     <Invoice><Succeeded>true</Succeeded><Processed>true</Processed><Reference>XXXXXXX-2</Reference><Contact>XXXXXX 2</Contact></Invoice>     </SalesInvoicesImportResponse></ProcessSalesInvoicesResult></ProcessSalesInvoicesResponse></Body></Envelope>

函数内容
当前页面使用FileMaker生成发布, 更新于2021年3月15日0时45分22秒

较旧的文章 较新的文章