xsl-list
[Top] [All Lists]

Re: [xsl] Schema - match &Ouml

2011-02-03 04:12:04
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(_dot_)szabo(_at_)lexisnexis(_dot_)at> 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üäö;]*))?|[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(_dot_)szabo(_at_)lexisnexis(_dot_)at
Tel.: +43 (1) 534 52 - 1573
Fax: +43 (1) 534 52 - 146






--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>