DC said:
I can't see any need to have any new syntax to specify such
a starting node (The facility that it is set outside the
stylesheet was already in
XSLT1) IF you need this set in the stylesheet just go
<xsl:template match="/">
<xsl:apply-templates
select="/part/book/chapter/sect1[3]/sect2[4]"/>
which has the same effect in a much more obvious way.
Good point David.
Though the ability to pass it to the stylesheet enables me
to use the standard docbook stylesheets without modification,
should that be needed. E.g. I could use the standard stylesheet
to extract/style only wanted parts of a source document.
I wonder what use case the WG have for its inclusion given the above!
regards DaveP.
-
DISCLAIMER:
NOTICE: The information contained in this email and any attachments is
confidential and may be privileged. If you are not the intended
recipient you should not use, disclose, distribute or copy any of the
content of it or of any attachment; you are requested to notify the
sender immediately of your receipt of the email and then to delete it
and any attachments from your system.
RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants. However, it
cannot accept any responsibility for any such which are transmitted.
We therefore recommend you scan all attachments.
Please note that the statements and views expressed in this email and
any attachments are those of the author and do not necessarily represent
those of RNIB.
RNIB Registered Charity Number: 226227
Website: http://www.rnib.org.uk