Apply XPath on collection
Posted: Thu Jan 31, 2019 1:12 pm
I want to evaluate an XPath on a collection like this:
string-join(
collection("file:/C:/Users/me/my-folder/")//biblStruct/@xml:id,
" "
)
I expect the XPath to have one final result of type string. But oXygen seems to return something depending on the selected scope. When using "current file", the XPath is only applied to the current file, when selecting "Project" or "Working sets", oXygen applies the XPath to each file *separately*.
How to really apply the XPath to a collection of files and obtain exactly *one* result?
string-join(
collection("file:/C:/Users/me/my-folder/")//biblStruct/@xml:id,
" "
)
I expect the XPath to have one final result of type string. But oXygen seems to return something depending on the selected scope. When using "current file", the XPath is only applied to the current file, when selecting "Project" or "Working sets", oXygen applies the XPath to each file *separately*.
How to really apply the XPath to a collection of files and obtain exactly *one* result?