Saving a Code Snippet

Use the XPath editor to save code snippets for reuse in XPath expressions.

  1. Open the XPath editor.
  2. Select a code snippet in an XPath expression, right-click and select Add to snippets.

    The New Category dialog opens.

  3. Enter a name to contain the snippet and click OK.

    A Customize Palette window opens.

  4. Define snippet details and click OK.

    The code snippet is added to the Snippets view.

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.