|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: first-of-type
> BTW, it seems that these predicates (first-of-type/last-of-type) > are horribly useful, why did they get nuked? One of the reasons was that you couldn't pair them up properly: <xsl:if test="first-of-type()"> <TABLE> </xsl:if> <TR><xsl:apply-templates/></TR> <xsl:if test="last-of-type()"> </TABLE> </xsl:if> This fails for obvious reasons! This is what led me to the invention of the saxon:group construct: <saxon:group group-by="name()"> <TABLE> <saxon:item> <TR><xsl:apply-templates/></TR> </saxon:item> </TABLE> </saxon:group> 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








