0
源XML包含自定義命名空間:如何執行XSL轉換如果自定義命名空間用來
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:getBuyInvoiceResponse xmlns:ns="http://iws.itella.ee">
<ns:return>
<E_Invoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
...
XSL contaisn還有那些命名空間:
<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ns="http://iws.itella.ee"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
,他們在選擇使用
<xsl:template match="/soapenv:Envelope/soapenv:Body/ns:getBuyInvoiceResponse/E_Invoice/Invoice/InvoiceItem/InvoiceItemGroup/*">
使用http://www.utilities-online.info/xsltransformation的XSLT轉換會創建空文檔。如何解決這個問題,以便文檔內容也被創建?