On Thursday 01 September 2005 3:08 pm, Christian Neukirchen wrote: > Interesting... oh, I forgot a : > > xml.xsl :stylesheet, "version" => "1.0" do > xml.xsl :"apply-templates", "select" => "cats" do > ... #^^^ > end > end > Hooray! You get 20pts for answering a quesiton while I was writing the email asking it. > Really a hack. uck. -) Yeah, it doesn't really work except for one-line tags. Here's an example of the problem: <xsl:variable name="elem-contents"> <xsl:value-of select="substring(., 2, $end-pos)"/> </xsl:variable name="elem-contents"> Thanks again, Keith