[MarkLogic Dev General] Getting Value of Filename

Bindu Wavell bindu.wavell at flatironssolutions.com
Wed Jan 14 15:15:43 PST 2009


Are you looking for xdmp:node-uri()?

On Jan 14, 2009, at 4:07 PM, Betty Harvey wrote:

> I have a dataset that points to xml filenames instead of internal  
> ID's.
> Example:
>
> <myref refid="12345">  Points to 12345.xml <mydata id="abc456">
>
> There is possibly thousands of XML instances that point to 12345.xml.
> I want to find all the instances that point to 12345.xml.   
> Unfortunately,
> there isn't anything in 12345.xml that describes it's filename.
>
> TIA!
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> Betty Harvey                         | Phone: 410-787-9200 FAX: 9830
> Electronic Commerce Connection, Inc. |
> harvey at eccnet.com                    | Washington,DC SGML/XML Users  
> Grp
> URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://xqzone.com/mailman/listinfo/general



More information about the General mailing list