xsl-list
[Top] [All Lists]

Re: converting XML to XML problem

2003-11-11 12:41:38
I did not understand what you mean to say. Could you
please explain. Thanks in advance
abhi
--- Wendell Piez <wapiez(_at_)mulberrytech(_dot_)com> wrote:
Abhi,

Me again, but only with a persnickety warning. It
might have been some 
piece of software that did it, but

At 11:08 AM 11/11/2003, you wrote:
Thanks much. Your solution
<xsl:template match="node2">
  <xsl:text disable-output-escaping="yes">
   &amp;
  </xsl:text>
<xsl:value-of select="@attr/>;
</xsl:template>

which won't work for the purpose of hijacking the
serializer to output 
entity references, whereas

<xsl:template match="node2">
   <xsl:text
disable-output-escaping="yes">&amp;</xsl:text>
   <xsl:value-of select="@attr/>;
</xsl:template>

will work.

See why?

Cheers,
Wendell


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list