Re: regular expression in XML Schema

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 "·"
or "·" 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:01:32 UTC