|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] create a xsl rule
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








