If your emphasis node is treated differently based upon it's parent,
simply create a match for each type:
<xsl:template match="emphasis[parent::a]">
Perform a/emphasis formatting...
</xsl:template>
<xsl:template match="emphasis[parent::b]">
Perform b/emphasis formatting...
</xsl:template>
Thanks!
Angela
-----Original Message-----
From: Luke Jones [mailto:ljones@xxxxxxxxxx]
Sent: Thursday, August 23, 2007 11:29 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Print parent text
I did it this way because emphasis nodes as well as para nodes show up
as children to many different parents and need to be handled in
different ways.
Thanks!
| Current Thread |
|
Angela Williams - 23 Aug 2007 18:54:52 -0000 <=
AAS Contractor - 24 Aug 2007 01:10:14 -0000
|
|