The XMLSPY Regular Expression Builder


The XMLSPY Regular Expression Builder

XMLSPY supports a Regular Expression Builder in XML Schema Design view. To access this functionality, select an XML Schema element of type string in the graphical design page. Then, go to the Facets Window and choose the Patterns tab. Click the Insert New Pattern button, which is located in the top-left corner of the Facets window. Click the down arrow on the new row that you created. A drop-down list of common regular expressions appears, as shown in Figure C-1.

click to expand
Figure C-1: The XMLSPY Regular Expression Builder.

In XML Schema, a string element can contain multiple patterns, and a data element is considered to be valid if it satisfies any one of the specified regular expression patterns. To add an additional pattern constraint, click the Insert button.




The XMLSPY Handbook
The Official XMLSPY Handbook
ISBN: 764549642
EAN: 2147483647
Year: 2001
Pages: 121
Authors: Larry Kim

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net