Re: [xsl] User-defined function for linenumber

Subject: Re: [xsl] User-defined function for linenumber
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 1 Aug 2007 11:00:34 +0100
> Is the purpose of this so you can apply a Schematron generated
> stylesheet to an XML file and get the line numbers of the elements
> that fail validation?

If so, it's a lot more efficient, and often more useful to instead
return an Xpath to (or a fragment identifier of an  html view of
the) the offending element, for which the base schematron code
already has some functions.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread