This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Manipulating mixed elements
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Manipulating mixed elements
- From: Edmund Mitchell <EMitchell at fnf dot com>
- Date: Fri, 19 Jan 2001 12:28:22 -0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello Pat
You can run a stylesheet like this:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match='/'>
<xsl:apply-templates/>
</xsl:template>
<xsl:template match='text'>
<font size='12'> <!-- or whatever attribute you had in mind-->
<xsl:apply-templates/>
</font>
</xsl:template>
<xsl:template match='bold'>
<b>
<xsl:apply-templates/>
</b>
</xsl:template>
</xsl:stylesheet>
I hope that helps
Edmund
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list