Re: [xsl] Converting logical <em>s to physical <i>s (nesting prob lem)

Subject: Re: [xsl] Converting logical <em>s to physical <i>s (nesting prob lem)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 18 Jan 2002 01:34:58 GMT
  What if you use:
  
  <xsl:otherwise>
   &lt;/em&gt;<xsl:apply-templates/>&lt;em&gt;
  </xsl;otherwise>

  I'm not sure if you need to put the '&lt;/em&gt;' in <xsl:text> elements ?!?

xsl:text isn't needed for tha. with or without xsl:text that isn't wat
you want to do it just generates the characters < / e m which will
appear in the output just as you show then here with the < quoted.
There is a lot of difference between making an element node and making a
text node that has some text that has xml syntax.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread