Re: [MarkLogic Dev General] How to escape ${} in document-insert

2015-08-03 Thread Jenny Wang
Classification: Public Thanks a lot, it works! From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky Sent: Monday, August 03, 2015 5:41 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] How to escape

Re: [MarkLogic Dev General] How to escape ${} in document-insert

2015-08-03 Thread Danny Sokolsky
You can escape curly brackets in XQuery with another of the same type of curly brackets. For example: let $s := foo${{bar}}/foo return xdmp:document-insert(/test.xml, $s); doc(/test.xml) = ?xml version=1.0 encoding=UTF-8? foo${bar}/foo -Danny From: general-boun...@developer.marklogic.com

Re: [MarkLogic Dev General] Return Order - what returns first

2015-08-03 Thread Kari Cowan
Heh. Mondays. Thank you! From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of David Lee Sent: Monday, August 03, 2015 2:27 PM To: MarkLogic Developer Discussion general@developer.marklogic.com Subject: Re: [MarkLogic Dev General] Return

[MarkLogic Dev General] How to escape ${} in document-insert

2015-08-03 Thread Jenny Wang
Classification: Public I need to insert a document to ML, the document has something like ${error_message} which ML takes it as a defined variable. How can I escape this? Jenny --- This communication may contain confidential and/or privileged information. If you are not the intended

[MarkLogic Dev General] Return Order - what returns first

2015-08-03 Thread Kari Cowan
This is odd. I have a return that should first return some markup for 3 lists, then it writes a table. But it seems to alternate intermittently as to what writes first - sometimes it writes the table first. Any obvious reasons that would happen? Here's a snippet to put it in context...

Re: [MarkLogic Dev General] Community Newsletter

2015-08-03 Thread Phil Barber
Here's a fun one: Phil Barber put together a survey tool built on MarkLogic, called QuestionLemur. https://github.com/BillFarber/QuestionLemur To clarify, this was a team effort with Paul Hoehne, Jonathan Krebs, Andrew O'Brien and myself. On Mon, Aug 3, 2015 at 4:21 PM, Dave Cassel

[MarkLogic Dev General] Community Newsletter

2015-08-03 Thread Dave Cassel
Hello Community, Had a vacation last week, splitting time between Gettysburg and Virginia Beach. I'm a history buff, but my wife daughters definitely preferred the beach! Now for some updates on what the community has been up to over the last month. Community Projects The space of