xsl-list
[Top] [All Lists]

Re: [xsl] User-defined function for linenumber

2007-08-01 02:50:44
On 8/1/07, Jesper Tverskov <jesper(_at_)tverskov(_dot_)dk> 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

--~------------------------------------------------------------------
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>
--~--