This is the mail archive of the xsl-list@mulberrytech.com mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |