[Home] [By Thread] [By Date] [Recent Entries]
On Apr 18, 2007, at 11:37 AM, Abel Braaksma wrote:
saxon my.xslt my.xml > output.xml Can't do that so easily with PHP. I have some real limitations here. I will probably learn to work around them. I'll look over your suggestions for the new way to write the predicate. Here is what I currently do: <xsl:variable name="mypos_minus_one" select="position()-1"/> <xsl:variable name="prev" select="$search_results[$mypos_minus_one]/ xna:data_evt_weekday/xna:name"/> <xsl:if test="(position() = 1) or (xna:data_evt_weekday/xna:name != $prev)"> Chris Marshall chris at getridofthiswholelongthingybecauseitstoconfusescrapers littlegreenviper dot com http://www.cmarshall.net/
|

Cart



