|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Total number of pages with XSL-FO
> So here is my next question: is there any way to see if an id > exists in an FO document? > > Nadia Swaby Hi, Nadia, Sure. You can do a test for it in either xsl:when or xsl:if. For example: <xsl:if test="//@id='MyID'"> <!-- Do something (perhaps apply certain templates) --> </xsl:if> Of course, if you can determine the exact path (not always possible because elements may be nested at different depths and so on), you can use the actual path instead of //. HTH Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies)
|
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








