|
Home > Online Product Documentation > Table of Contents > Wildcards in Queries Wildcards in QueriesIn a query, you can include an asterisk (*) to represent all elements. For example:
This query searches for all
The * collection returns all elements that are children of the context node, regardless of their tag names.
The next query finds all
The following query returns the grandchild elements of the current context.
Restrictions
Usually, the asterisk (*) returns only elements. It does not return processing instructions, attributes, or comments, nor does it include attributes or comments when it maintains a count of nodes. For example, the following query returns
Wildcards in strings are not allowed. For example, you cannot define a query such as the following:
AttributesTo use a wildcard for attributes, you can specify @*. For example:
For each
|
XQuery Talk
Join the XQuery Talk mailing list for a practical discussion about XQuery. It's a place to work together to learn a new language, talk about problem solutions, discuss engines and implementations, chat about the latest XQuery news and more.
XQuery Documentation Generator
Stylus Studio provides integrated support for xqDoc so you can generate XQuery documentation directly from the XQuery editor.
EDIFACT Standards Available Across All Versions
The complete EDIFACT Standards Grid, listing all EDIFACT versions across the top, and the corresponding messages down the left side.
XHTML Tools
Powerful XHTML Tools for converting HTML to XHTML, validating XHTML, transforming XML to XHTML, editing JSP, creating XML driven Websites and more.