Matthieu,
On 1/18/2011 10:34 AM, you wrote:
Thank you Michael, this looks more appropiate to my need ;-)
After adding the f prefix to :
<xsl:template match="body/*/f:is-heading(.)" priority="10">
I get an "Failed to compile stylesheet" error :
Error at xsl:template on line 23 column 63 of orphans.xsl:
XTSE0340: XSLT Pattern syntax error at char 7 on line 23 in
{body/*/igs:is-heading(.}:
Function call may appear only at the start of a pattern
Failed to compile stylesheet. 1 error detected.
Just a stab in the dark in case MK has gone off line ...
... I think this is just a typo. Try "body/*[f:is-heading(.)]". That is,
match any body/* for which f:is-heading(.) returns true().
Good luck,
Wendell
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
--~------------------------------------------------------------------
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>
--~--