This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A very simple question


Mike Brown wrote:
> For example, you could use an XSLT processor to transform 'text' and 'i'
> XHML elements into 'p' and 'i' HTML elements:
>  [...]
> 	<xsl:template match="text">
> 	  <xsl:copy-of select="."/>
> 	</xsl:template>

Sorry, I meant

<xsl:template match="text">
  <p>
    <xsl:copy-of select="*|text()"/>
  </p>
</xsl:template>




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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]