W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2010

Re: How to allow html tags and restrict number of characters‏

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Date: Sat, 9 Oct 2010 08:22:17 +0530
Message-ID: <AANLkTimK6MoSmpb41wcDUbr8a8dEBNtaWtUYJ-Xghawt@mail.gmail.com>
To: xmlschema-dev@w3.org
On Sat, Oct 9, 2010 at 7:47 AM, Mukul Gandhi <gandhi.mukul@gmail.com> wrote:
> I think expression string-length(.) returns string value of a node

oh sorry, it seems I mistyped.

XPath (here XPath 2.0 for XML Schema 1.1 assertions) function
"string-length" returns the *length* of a string (here that is string
value of an XDM element node -- which is concatenation of all text
node descendants of an element, in document order) as an xs:integer

Mukul Gandhi
Received on Saturday, 9 October 2010 02:53:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:57 UTC