Re: How to allow html tags and restrict number of ch aracters
Mukul Gandhi <[email protected]>
| Newsgroups | gmane.text.xml.schema.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Oct 9, 2010 at 7:47 AM, Mukul Gandhi <[email protected]> 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