Re: [xsl] User-defined function for linenumber

Subject: Re: [xsl] User-defined function for linenumber
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Wed, 1 Aug 2007 10:50:27 +0100
On 8/1/07, Jesper Tverskov <jesper@xxxxxxxxxxx> wrote:
> On 8/1/07, Colin Adams wrote:
> > Why can you not use analyze-string in Schematron?
>
> I don't know much about Schematron but as far as I know, if using ISO
> Schematron and XSLT 2.0, I can only use:
>
> All the functions in XPath and XSLT and I can use xsl:variable being
> transferred to sch:let and I can use xsl:value-of being transferred to
> sch:value-of, and I can use xsl:if being transferred to sch:assert.
>
> Other XSLT elements are not possible but this is only as far as I know?

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?

-- 
http://andrewjwelch.com

Current Thread