Re: [MarkLogic Dev General] Cts query for element attribute value matching another attribute value?

2012-02-13 Thread Geert Josten
: zondag 12 februari 2012 19:04 Aan: MarkLogic Developer Discussion Onderwerp: Re: [MarkLogic Dev General] Cts query for element attribute value matching another attribute value? No easy suggestions, but I have a couple. If this is a common query and needs to be very efficient, then I would

Re: [MarkLogic Dev General] Cts query for element attribute value matching another attribute value?

2012-02-13 Thread Michael Blakeley
, Geert -Oorspronkelijk bericht- Van: general-boun...@developer.marklogic.com [mailto:general- boun...@developer.marklogic.com] Namens Michael Blakeley Verzonden: zondag 12 februari 2012 19:04 Aan: MarkLogic Developer Discussion Onderwerp: Re: [MarkLogic Dev General] Cts query

[MarkLogic Dev General] Cts query for element attribute value matching another attribute value?

2012-02-12 Thread Geert Josten
I am trying to isolate some specific element with two attributes who's values are equal. I know I can use an expression like doc()//elem[@att1 = @att2], which is even fully searchable according to xdmp:plan, but I'd prefer a cts:query, which I could pass into cts:element-attribute-values. I need

Re: [MarkLogic Dev General] Cts query for element attribute value matching another attribute value?

2012-02-12 Thread Danny Sokolsky
...@developer.marklogic.com] On Behalf Of Geert Josten [geert.jos...@dayon.nl] Sent: Sunday, February 12, 2012 1:16 AM To: MarkLogic Developer Discussion Subject: [MarkLogic Dev General] Cts query for element attribute value matching another attribute value? I am trying to isolate some specific element with two