A User Friendly Search Tip from MarkLogic
January 20, 2014
Open source developers rely on code libraries their fellow developers have already written to complete their projects. This makes search engines and open source communities an invaluable tool. Blogs are another place to locate helpful code and the Developer Notes details one developer’s notes on XML, MARKLOGIC, XQUERY, XFORMS, XSLT, SCHEMA, JAVA, HTML, CSS, JAVASCRIPT, XSSI AND OTHERS.
By searching through the blog’s archive, we found this old post entitled: “MarkLogic: Techniques For Querying In-Memory Fragments Using CTS:Contains.”
Here is what you will find in the post:
“This snippet demonstrates the use of cts:contains and cts:element-attribute-word-query on an in-memory fragment (something that has been stored in the Expanded Tree Cache using a let statement).”
As any kind developer who pulls from open source, the author posts the code for anyone to use in their project. We occasionally find neat little tricks like this tucked away in the Internet. Sadly, many of them can get lost and are left in the hidden Web, which is we rely on deep Web crawler content wrangler. Developers need a robust search engine to find good code. Sometimes the big guns like Google do not work.
Whitney Grace, January 20, 2014
Sponsored by ArnoldIT.com, developer of Augmentext