CentraSite Documentation : CentraSite User’s Guide : Using the Asset Catalog : Searching the Asset Catalog : Performing an XQuery Search
Performing an XQuery Search
You can search for assets and supporting documents using an XQuery search. There are two general approaches you can use to specify an XQuery search:
*Write the query from scratch. This requires a good knowledge of the XQuery language.
*Use first an advanced search, then switch to the XQuery tab. In this case, the equivalent XQuery code is displayed and you can adapt it to your requirements.
Note:  
The results are displayed in XML format, rather than as a list of matching assets and supporting documents.
To perform an XQuery search
1. In CentraSite Control, go to Asset Catalog > Search.
2. To base your XQuery search on an advanced search, perform the advanced search as described above.
3. Open the XQuery profile.
4. Edit the displayed XQuery code or enter your new XQuery code.
5. Click Search.
The results of the search are displayed below the XQuery code. The results are shown as a single XML document that contains the definitions of the assets that met the search criteria.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback