Subject: [xsl] Filtering, xslt 2.0 From: "Dave Pawson dave.pawson@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 31 Oct 2022 16:16:09 -0000 |
Input xml contains <data> ... <membership>....</membership> </data> where membership can be one of a b c d cmd line param membership=a could be membership=a,b,c How to 'choose' only those matching the param values? <xsl:template match="data"> <xsl:if test="$membership =./membership"> <xsl:message> <xsl:value-of select='membership_type'/> </xsl:message> <xsl:apply-templates/> </xsl:if> .. How to pass a list, and then check for membership of that list, one or more times? Any help appreciated. regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xmlns:xi attributes getti, Michael B Allen iopl | Thread | Re: [xsl] Filtering, xslt 2.0, Martin Honnen martin |
Re: [xsl] xmlns:xi attributes getti, Michael B Allen iopl | Date | Re: [xsl] Filtering, xslt 2.0, Martin Honnen martin |
Month |