yes.
Monday, January 8, 2007, 10:04:47 PM, you wrote:
xn> Hi:
xn> I am a newbie to xslt and XSLFO. I have to do a numbering which offers the
xn> flexibility to reorder elements if an element in between is being removed.
xn> I will try to demonstrate with an example input.
xn> <chapter1>
xn> <section>first section<section>
xn> </chapter1>
xn> <chapter1>
xn> <section>second section</section>
xn> </chapter1>
xn> <chapter1>
xn> <section>third section</section>
xn> </chapter1>
xn> <chapter1>
xn> <section>fourth section</section>
xn> </chapter1>
xn> So, I want my output to look like
xn> 1. first section
xn> 2. second section
xn> 3. third section
xn> 4. fourth section
xn> and so on. Suppose one chapter1 element is removed in between, lets say
xn> second section, then the numbering should reset itself so that now the
xn> output looks like:
xn> 1. first section
xn> 2. third section
xn> 3. fourth section
xn> Is it possible to achieve this in xslt and XSLFO?
xn> Please do let me know.
xn> Thanks
xn> --~------------------------------------------------------------------
xn> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
xn> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
xn> or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
xn> --~--
--
Alexey
mailto:alexey(_dot_)nikolaenkov(_at_)actimind(_dot_)com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--