|
Subject: Re: [xsl] XSLT program that generates XSD, the XSD has a pattern facet, the regex has curly braces, the curly braces are causing me trouble From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 19 Jul 2017 13:58:55 -0000 |
>> Note that replacing the curly braces with their character references also
failed:
>>
>> <xs:pattern value="[a-z\{\ }]*" />
>
> Because XSD doesn't care what syntax is used in the stylesheet for the
characters to be used in the logic.
>
No, that's not the reason. The reason is that the stylesheet is parsed using
an XML parser, and by the time the XSLT processor gets to see it, any
distinction between "{" and "{" has long disappeared.
Michael Kay
Saxonica
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XSLT program that generat, G. Ken Holman g.ken. | Thread | [xsl] Using variables in xpath expr, Joseph L. Casale jca |
| Re: [xsl] Using variables in xpath , Martin Honnen martin | Date | [xsl] Mode in XSLT 3.0, Toshihiko Makita tma |
| Month |