[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Re: usage of entities (for dummies)
Subject: Re: usage of entities (for dummies)|
From: "Georg Hohmann" <georg.hohmann@xxxxxxxxx>
Date: Tue, 8 Aug 2006 13:04:22 +0200
Many thanks for the detailed explanations. Yet another tile in the
giant jigsaw called xslt ... ;-)
2006/8/7, David Carlisle <davidc@xxxxxxxxx>:
> but this something different. Or isn't it? Could you explain what
> "as='element(mod)*'" means?
It's the same (more or less). It's a "Sequence Type" sequence types have
two forms value types like xs:integer and node types like this which
in this case (with a *) means a sequence of 0-or-more elements of name
mod. If you don't specify a type here then xsl:variable would have made
a sequence of one document node (/) and the mod elements would have been
children of that. (That would also have been usable in this case,
although slightly less efficient and verbose and you would generate the
extra / node layer)
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format