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: Manipulating mixed elements


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


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