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]

XSL Problem for expert


Hi

Is it possible to do something like this?

<div type="chapter">
<p>Paragraph</p>
<pb/>

And the template

<xsl:template match="div[@type='chapter']>
<div style="font-size:72pt">
<xsl:apply-templates/>
<!-- We don't close the div tag -->
</xsl:template>

<xsl:template match="pb">
</div>
<!-- We close the previous div tag -->
</xsl:template>

Is there a way to do this?

Thanks
Sydney

___________________________________________________________
Do You Yahoo!?
Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr


 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]