[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: passing a variable to call-template
> So, I'm hoping to be able to dynamically pull templates based upon the > conformance attribute in the XML. that's what apply templates does, you want to use apply-templates and templates with a match pattern not named templates. just do <xsl:apply-templates select="@conformance"/> by default do nothing, <xsl:template match="@conformance"/> but sometimes do something <xsl:template match="@conformance[starts-with(.,'alert_hand_in_gears')]"> do something </xsl:template> David
|
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
|