Subject: RE: Manipulating mixed elements
From: Edmund Mitchell <EMitchell@xxxxxxx>
Date: Fri, 19 Jan 2001 12:28:22 -0800
|
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
|