Is there a way of listing all the paths to wildcarded element name? Either using a FLOWR expression or cts:search.
i.e. I would like to find all elements with a name that contains a wildcarded string because I'm unsure of the name of an element or where it is. And the most useful think I can think of to return would be the path to all elements (or attributes?) that contain that string. I found this document<http://developer.marklogic.com/blog/name-is-a-code-smell> that talks about name() vs local-name() or node-name(), and these return a QName, and I found xdml:path which would return a path given a node, so what I think I need is something like node-name but returns the node which I could pass to xdml:path. Otherwise I'm aware of term lists and the universal index but I can't find out how to query them. I guess I'm looking for something akin to the USER_TAB_COLUMNS dictionary table in Oracle. Many thanks and happy new year, Rachel ---------------------------- http://www.bbc.co.uk This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ---------------------
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
