actually the stylesheet is not working anymore.
beware applying patches that people send you at 40 seconds to midnight,
they may not always be reliable:-)
here's the actual source:
If I undo the change and put the key back to
use="generate-id((preceding-sibling::absatz[1]|.)[1])"
Then applying the stylesheet and input of that you posted, i get
$ saxon indent2.xml indent2.xsl
<?xml version="1.0" encoding="utf-8"?>
========= section 1 ===
<block>
Some text, no indent, first paragraph, </block>
<block indent="2em">
<italic>some</italic> other text, with indent
</block>
<block indent="2em">
<bold>yet</bold> other text with <bold>bold text</bold> and
<italic>italicized</italic> text
and <bold><italic>bold italic</italic></bold> text
</block>
<block indent="2em">
again other text
</block>
ie all blocks except the first indented, which was, i thought, what you
wanted.
David
--~------------------------------------------------------------------
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>
--~--