Created
June 4, 2024 09:24
-
-
Save Delors/aee6eb48450657a5ae22e530580548b2 to your computer and use it in GitHub Desktop.
Specification of a couple of XPath expressions against the demo.xml file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"source": "demo.xml", | |
"namespaces": { | |
"xlink": "http://www.w3.org/1999/xlink", | |
"dhbw": "http://dhbw-mannheim.de" | |
}, | |
"xpaths" : [ | |
{ | |
"expr": "//comment()" | |
},{ | |
"expr": "//dhbw:vorlesung", | |
"subExpr": ".." | |
},{ | |
"expr": "//@*[local-name(.)='href' and namespace-uri(.)='http://www.w3.org/1999/xlink']" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment