Subject: RE: [xsl] request validation of the input document from within the XSLT stylesheet From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Fri, 5 May 2006 12:54:55 +0100 |
> I don't see exactly what you thought about. Can you please > explain it a little bit further, or show a kind of sample, in > the context of validating the input trees? Essentially, if you start from lexical XML, there's a sequence of processing that takes place on the input document before the XSLT stylesheet sees it. This might include: * validation against DTD or schema * adding DTD or schema-based type information * whitespace stripping * xinclude processing * xml:id processing You typically want to process input documents in different ways depending on the circumstances, so the process needs to be parameterized in some way. The question is, should these processes be controlled by the stylesheet code or by something external ("the application")? Generally XSLT 2.0 has opted to have it controlled externally - except for whitespace stripping, which was already there in 1.0 (and is not without its problems). Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] request validation of th, Florent Georges | Thread | RE: [xsl] request validation of th, Florent Georges |
RE: [xsl] request validation of th, Florent Georges | Date | RE: [xsl] request validation of th, Florent Georges |
Month |