[MarkLogic Dev General] values of attributes with same nameinMarklogic!!?

Geert Josten Geert.Josten at daidalos.nl
Thu Oct 29 11:26:35 PST 2009


Hi Srinivas,

> for $v in
> $sampleArticle/article/article-meta/related-article/@xlink:href
> return fn:data($v)

If this is all you do in the for loop, then you can skip the for loop. The fn:data function accepts sequences..

http://www.w3.org/TR/xpath-functions/#func-data

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.





More information about the General mailing list