Joeseph C., my stomach isn't upset .... if your's isn't. I knew this could be done.
Two issues with what you are doing. First your template rule is consuming an "image" element and not producing an "img" one at all. Which is OK I guess ... seems that was what you wanted to do. Secondly your <xsl:apply-templates /> in your template rule with match="image" actually will process all child nodes of the element, including all attributes. Assuming your only attribute is the src attribute you are OK. However if your input was say this: <image src='picture.jpg' width='200' height='100' /> Your output would be something like this: <img src=\"100picture.jpg200\" /> Perhaps you want to change template to have this: <xsl:apply-templates select='@src' /> to deal with just the source attribute. So you still have a hole for other attributes. The official HTML <img> tag has several. - Brian "The Eraser" <[EMAIL PROTECTED] il.com> To Brian Minchau/Toronto/[EMAIL PROTECTED], 10/24/2007 06:42 <[EMAIL PROTECTED]>, PM <[EMAIL PROTECTED]> cc Subject RE: [Announce] Escaping double quotation marks in XSL I almost forgot to mention, this is what I ended up with: <xsl:template match="image"> + "<img src=\"<xsl:apply-templates />\" />" </xsl:template> It's pretty nasty, but xsltproc is happy with it. Let me know if I did anything too grotesquely wrong. Thanks again, Joseph Caporale