[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Filtering, xslt 2.0
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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|