W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2003

Re: regular expression in XML Schema

From: Hans Teijgeler <hans.teijgeler@quicknet.nl>
Date: Fri, 26 Sep 2003 11:35:30 +0200
To: Jeni Tennison <jeni@jenitennison.com>
Cc: xmlschema-dev@w3.org, "weitz, edi" <edi@agharta.de>, "paap, onno" <onno.paap@ezzysurf.com>
Message-id: <3F740862.6CD5DB78@quicknet.nl>
Dear Jeni,

Thanks! Case closed.

Regards,
Hans

===========================

Jeni Tennison wrote:

> Hi Hans,
>
> > Rephrasing my question about how to fill in such an identifier in a
> > Spy-made XML document, I have a last question: Assume that I want to
> > make a query and I have to fill in such an identifier (or any
> > string, for that matter) in which there is a middle dot (or any
> > other allowable Unicode character), what then should I do, since
> > there are no keys on my (US) keyboard with such characters?
>
> As I said, it depends where the character needs to appear.
>
> If the character appears in the value of an attribute or in text
> within an element, then you can use a character reference to refer to
> the character using its Unicode codepoint. For example, type "&#xB7;"
> or "&#183;" to insert a MIDDLE DOT character in an attribute value or
> in text.
>
> If the character appears in an element or attribute name, you need to
> enter the character literally. You can do that using the Windows
> Character Map or by typing Alt+#, where # is the decimal version of
> the Unicode codepoint, on the numeric keypad. For example, type
> Alt+0183 to insert a MIDDLE DOT character in your document.
>
> Cheers,
>
> Jeni
>
> ---
> Jeni Tennison
> http://www.jenitennison.com/

Received on Friday, 26 September 2003 05:35:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:39 GMT