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

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
value.



-- 
Regards,
Mukul Gandhi

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