Re: [xsl] XSL Lint was: Schema Optimsations

Subject: Re: [xsl] XSL Lint was: Schema Optimsations
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Wed, 03 Jul 2002 22:36:59 +0200
Michael Kay wrote:
Yes, I'd like to do this too. It's not easy though. If your stylesheet
does:

<xsl:variable name="temp">
  <files>
    <xsl:element name="{substring('field', 1, 4)}"/>

Then your code above might be perfectly legitimate. We aren't proposing
that every temporary tree must conform to a schema or DTD.

I know, document() is another trap. You'll have to keep track which document the context node comes from. Temporary trees just cannot be checked, unless someone manages to attach a schema to them.

J.Pietschmann



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread