[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: usage of entities (for dummies)

Subject: Re: usage of entities (for dummies)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 7 Aug 2006 14:07:26 +0100
Re:  usage of entities (for dummies)
> 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)

David

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.