|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Sending this again: Never was posted. Setting up some co
> My style sheet is working fine to display all the projects, > but I added > this if statement to the team column: > <xsl:if test="team=ALL"> > <td><xsl:value-of select="team" /></td> > </xsl:if> > > It doesn't work, of course, because it thinks I'm referring to the > "team" in the projects node, but I want to test the "team" in the meta > node. You can give a relative path, e.g. "../team" (the team child of the parent node), or an absolute path, e.g. "/*/meta/team" to select it from the root. In this situation I would probably set up a global variable: <xsl:variable name="team" select="string(/*/meta/team)"/> and then refer to the team as "$team". Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








