From: Keith Fahlgren Date: 2005-09-02T03:09:05+09:00 Subject: Re: Builder Question On Thursday 01 September 2005 12:25 pm, Christian Neukirchen wrote: > Did you try �xml.xsl :variable, "name" => "cats" �? Ah, that works great. (How can I not have tried that...?) > xml.tag! "apply-templates" Yep, that's good. > xml.xsl :stylesheet, "version" => "1.0" do > � xml.xsl "apply-templates", "select" => "cats" do > � � ... > � end > end Ah, do, instead of a { |block| }... Alas, it gives me: xsl:stylesheet version="1.0"> apply-templates But it led me to this hack: xml.xsl :stylesheet, "version" => "1.0" do xml.tag! 'xsl:apply-templates select="cats"' end Which works! Thanks a bunch! Other responses on how to do this better still happily accepted :-). Thanks, Keith