From: rubyhacker@... Date: 2006-08-24T05:50:09+09:00 Subject: Re: (RE)XML question Ilan Berci wrote: > > > > It's macro-type stuff. Basically I want to output > > the *same* HTML except for the text that replaced > > the special tags. > > This is what XSLT was designed for and it may provide another option for > you.. That makes sense. I've never used XSLT, but I'm sure that's a viable solution. _Why's Hpricot example worked perfectly for me, BTW. So, a related question. Suppose I wanted to "nest" macros of this kind. Something like: seed-value today. Forgive the nonsense example. Could XSLT handle this easily? Could Hpricot (_why)? Thanks, Hal