Hi Geert,

 

Using the FLOWR loop did the trick.  Basically I'm just traversing a set of
elements that use mixed-content and replacing some subelements with those of
prior elements if certain conditions apply.  By using global variables I was
able to update the logic and replacement values necessary for any
replacements.

 

Thanks again!

 

Tim 

 

P.S. Next I'll be submitting a question about socket timeout errors.

 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Geert Josten
Sent: Monday, April 26, 2010 3:18 AM
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] Recursion Limit and Stack Overflows?

 

Hi Tim,

 

> I've never explored using map:map for this purpose.  I'm

> interested in understanding how this can be used for building

> transforms.  Can you provide more details?

 

The map:map is just a hash map. It could be usefull if you could do a
double-pass on your siblings using two FLWOR's: the first collecting
information and storing it for quick access in the map:map, the second to
utilize the map:map keys to get the output you were after.

 

But it is hard to tell if this approach is at all usefull for you. Can you
give a short sample of what you are doing?

 

Kind regards,

Geert

 

 

drs. G.P.H. (Geert) Josten

Consultant

 

 

Daidalos BV

Hoekeindsehof 1-4

2665 JZ Bleiswijk

 

T +31 (0)10 850 1200

F +31 (0)10 850 1199

 

mailto:[email protected]

http://www.daidalos.nl/

 

KvK 27164984

 

P Please consider the environment before printing this mail.

De informatie - verzonden in of met dit e-mailbericht - 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.

 

_______________________________________________

General mailing list

[email protected]

http://xqzone.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to