graydon2014
graydon2014
Without regard to practicality of indexing (because I have no idea!), //p[normalize-space(.) contains text 'popular'] is what I'm usually after -- where is this phrase in the document? There can...
I managed to express the use case in a muddled way; apologies! let $xml := document { <bucket> <title>Complex Reference</title> <p>There's a <i>complex <link>reference</i> to this document.</p> </bucket> } return...
I would strongly prefer XML properties to properties restricted to key-value pairs. (Consider "author" metadata; there can easily be more than one, and application needs may run from detailed (is...