Subject: expression hell From: "Mark D. Anderson" <mda@xxxxxxxxxxxxxx> Date: Sat, 10 Apr 1999 13:43:28 -0700 |
i want to test that my parent has a "first" attribute, and that i'm the first child of my type. i've tried a bunch of things, and xt barfs on all of them. i presume that if i can just get my [] and () in the right place, i can do it. of course i could break it up into separate xsl:if clauses, but now i'm challenged. for example, this doesn't work: <xsl:when test=".[../@first and first-of-type()]"> this works, but it tests the wrong thing (it tests whether i have a "first" attribute, not my parent): <xsl:when test=".[@first and first-of-type()]"> -mda XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Suppressing source tree content, John E. Simpson | Thread | Re: expression hell, Mike Hatalski |
Re: Xlink, John E. Simpson | Date | Re: The Cathedral and the Bizarre (, Chris Lilley |
Month |