将XPath Filter 2.0转换为XPath

时间:2017-05-19 09:41:56

标签: xml xpath

如何翻译此XPath Filter 2.0(http://www.w3.org/2002/06/xmldsig-filter2)语句:

<ds:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
    <dsig-xpath:XPath xmlns:dsig-xpath="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect">
        here()/ancestor::saml2p:ArtifactResolve[1]
    </dsig-xpath:XPath>
</ds:Transform>

<ds:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
    <dsig-xpath:XPath xmlns:dsig-xpath="http://www.w3.org/2002/06/xmldsig-filter2" Filter="subtract">
        here()/ancestor::ds:Signature[1]
    </dsig-xpath:XPath>
</ds:Transform>

到XPath(http://www.w3.org/TR/1999/REC-xpath-19991116)转换?

0 个答案:

没有答案