Subject: Re: [xsl] create a xsl rule From: "Dr. Robert Spiske" <spiske@xxxxxxxxxxxxxxxxxxx> Date: Thu, 20 Mar 2003 14:26:42 +0100 |
Hello, I have a little trouble.
Here is the xml file :
<etm><graphic></graphic></etm>
<etm><para>blabla</para><etm> (a) <etm><para>blabla</para><etm> (a) <etm><para>blabla</para><etm> (a)
<etm><table></table></etm>
<etm><para>blabla</para><etm> (b) <etm><para>blabla</para><etm> (b) <etm><para>blabla</para><etm> (b)
In my XSL :
1/ I have a rule that match graphic and get the para (a) below using a generate-id.
<xsl:template match="etm[graphic]">
... ->there I use the generate-id
</xsl:template>
2/ My "para" rule is :
<xsl:template match="para">
</xsl:template>
obviously, this rule is to not display the para a second time. I can 't change it. Other rule would be influenced.
QUESTION : Where I'm stuck is that the para beside the table are not displayed, so I want to write a new "para" rule that match :
the first element above the para (b) that is not a graphic (so the table here).
Is it possible ?
Lionel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] create a xsl rule, Lionel Crine | Thread | Re: [xsl] create a xsl rule, Lionel Crine |
Re: [xsl] seriously trivial questio, Robert P. J. Day | Date | Re: [xsl] WROX going under, Randy Oxentenko |
Month |