[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Schema - match &Ouml

Subject: Re: Schema - match &Ouml
From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Thu, 3 Feb 2011 11:11:53 +0100
Re:  Schema - match &Ouml
The entity isn't there any more at the time the facet is used for
validation. XML parsers slurp them in and convert them to a character.
-W


On 3 February 2011 11:08, Szabo, Patrick (LNG-VIE)
<patrick.szabo@xxxxxxxxxxxxx> wrote:
> Hi,
>
> I'm writing a xsd and i want to restrict a string to satisfie a pattern.
> Currently it looks like this:
>
> ([0-9]{1,2}([a-z]|\-[0-9]{1,2}|[,]\s{0,1}(Beilage | Newsletter
[A-Za-z|dv;]*))?|[0-9]{4})
>
> Unfortunately after Newsletter there can also be entities like &Ouml.
> How do i specify that in a schema ?!
> I can't just add & because it of course thinks this is the start of an
entity.
> Escaping doesn't work either
>
> Idea anyone ?!
>
> regards
>
> . . . . . . . . . . . . . . . . . . . . . . . . . .
> Patrick Szabo
>  XSLT-Entwickler
> LexisNexis
> Marxergasse 25, 1030 Wien
>
> mailto:patrick.szabo@xxxxxxxxxxxxx
> Tel.: +43 (1) 534 52 - 1573
> Fax: +43 (1) 534 52 - 146

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.