Subject: Re: [xsl] Schema - match Ö From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx> Date: Thu, 3 Feb 2011 11:11:53 +0100 |
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 Ö. > 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Schema - match Ö, Szabo, Patrick \(LNG | Thread | Re: [xsl] Schema - match Ö, Michael Kay |
[xsl] Schema - match Ö, Szabo, Patrick \(LNG | Date | Re: [xsl] Schema - match Ö, Michael Kay |
Month |