Hi Rahul, If you could give us a bit more of the bigger picture of what you are trying to achieve, then we might be able to help you more..
Kind regards, Geert > Drs. G.P.H. Josten Consultant http://www.daidalos.nl/ Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk Tel.: +31 (0) 10 850 1200 Fax: +31 (0) 10 850 1199 http://www.daidalos.nl/ KvK 27164984 De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. > From: [email protected] > [mailto:[email protected]] On Behalf Of > Lee, David > Sent: maandag 12 oktober 2009 13:44 > To: General Mark Logic Developer Discussion > Subject: RE: [MarkLogic Dev General] how to find uri of a > document associated with node > > an element is a node. > > > > From: [email protected] > [mailto:[email protected]] On Behalf Of > Rahul Saluja > Sent: Monday, October 12, 2009 7:43 AM > To: General Mark Logic Developer Discussion > Subject: Re: [MarkLogic Dev General] how to find uri of a > document associated with node > > > > well if my function returns an element then how can i use > that element to get node, i am sorry if i am asking silly > question, as i have noot been very much into xml lately. > > regards > Rahul > > On Mon, Oct 12, 2009 at 5:11 PM, Lee, David > <[email protected]> wrote: > > fn:base-uri($arg as node()?) as xs:anyURI? > > might do the trick > > http://www.w3.org/TR/xpath-functions/#func-base-uri > > > > > > From: [email protected] > [mailto:[email protected]] On Behalf Of > Rahul Saluja > Sent: Monday, October 12, 2009 7:33 AM > To: General Mark Logic Developer Discussion > Subject: Re: [MarkLogic Dev General] how to find uri of a > document associated with node > > > > Hi Frank, > > Appreciate your quick response, and is there any api using > which we can find node associated with particular element. > > On Mon, Oct 12, 2009 at 4:52 PM, Frank Sanders > <[email protected]> wrote: > > Rahul, > > > > You can try either of the below, one of them should give you > what you're looking for. > > > > http://developer.marklogic.com/pubs/4.1/apidocs/AccessorBuilti > ns.html#fn:base-uri > > > > http://developer.marklogic.com/pubs/4.1/apidocs/Ext-6.html#xdm > p:node-uri > > > > -fs > > > > > > From: [email protected] > [mailto:[email protected]] On Behalf Of > Rahul Saluja > Sent: Monday, October 12, 2009 12:20 PM > To: [email protected] > Subject: [MarkLogic Dev General] how to find uri of a > document associated with node > > > > Helo all, > > is there any api available using which i can find the uri of > a document from the node returned back from my search application. > > > Regards > Rahul Saluja > > > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general > > > > > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general > > > > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
