[Home] [By Thread] [By Date] [Recent Entries]
David Carver wrote:
Under XSLT 1.0, I can do the following to filter out any xsd:element that has a xsd:documentation element that has the word "Deprecated" in it. I suppose you mean: fn:contains does not take a sequence of nodes as its first argument. You should specify precisely what you want, so either: (: first xsd:documentation :) xsd:documentation[1] or: (: all xsd:documentation concatenated :) string-join(xsd:documentation, '') or (better): (: all xsd:annotation having at least one xsd:documentation with 'Deprecated' :) xsd:annotation[xsd:documentation[contains(., 'Deprecated')]] HtH, Cheers, -- Abel Braaksma
|

Cart



