xsl:zero-digit
A digit that has the numerical value zero.
Simple type information
Namespace: http://www.w3.org/1999/XSL/Transform
Schema document: schema-for-xslt40.xsd
Content
- Type based on xsd:string
- Length: 1
- Pattern: \p{Nd}
from type xsl:char
Assertions
| Test | Description | Notes |
|---|---|---|
| matches(string-join(codepoints-to-string( for $i in 0 to 9 return string-to-codepoints($value) + $i), ''), '\p{Nd}{10}') |
Used in
- Attribute zero-digit
Type inheritance chain
- xsd:string
- restricted by xsl:char
- restricted by xsl:zero-digit
- restricted by xsl:char


