|
Subject: [xsl] Finding the right entry in a sequence that matches... From: "Christophe Marchand cmarchand@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 20 Nov 2025 06:20:34 -0000 |
Hello ! a long time without XML work, IC"BBm a little bit rusty and need help ! I have a sequence that contains words, and another that contains a sentence. I want to know if there one word that starts the sentenceC"BB& In Java, that would be : |List<String> words = ... ; String sentence = ... ; return words.stream().anyMatch(w -> sentence.startsWith(w)); | But with XPath / xslt C"BB& ? |<xsl:variable name="words" as="xs:string" select="..."/> <xsl:variable name="snetence" as="xs:string" select="..."/> <xsl:sequence select="... ? ..." /> | Thanks in advance, Christophe ​
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Xalan xslt 3.0 implementa, Martin Honnen martin | Thread | Re: [xsl] Finding the right entry i, Christophe Marchand |
| Re: [xsl] Xalan xslt 3.0 implementa, Martin Honnen martin | Date | Re: [xsl] Finding the right entry i, Christophe Marchand |
| Month |