|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Pick up generated numbering for cross reference us
Cas Tuyn wrote:
> It can be calculated I think. I had great dificulty writing:
>
> 'Count the number of tables in the current section only, before the
> table with <table id="csrh026a.dia-6"> , and add 1', from within the
> xref xslt declaration. Should that be something like:
You can use <xsl:number/> for getting number of current node. You can
change current node with xsl:for-each trick or better create template in
separate mode for generating cross-references.
<xsl:for-each select="id('csrh026a.dia-6')">
<xsl:number count="table" from="section" level="any"/>
</xsl:for-each>
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@xxxxxxxx http://www.kosek.cz
------------------------------------------------------------------
Profesionalnm 9kolenm a poradenstvm v oblasti technologim XML.
Podmvejte se na na9 novl spu9tln} web http://DocBook.cz
Podrobn} pxehled 9kolenm http://xmlguru.cz/skoleni/
------------------------------------------------------------------
[demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
|
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








