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

RE: text nodes of document in XDM

  • From: "David Lee" <dlee@calldei.com>
  • To: "'David Carlisle'" <davidc@nag.co.uk>
  • Date: Tue, 11 Jan 2011 15:22:55 -0500

RE:  text nodes of document in XDM
Thank you.
I am still curious about this statement:
------  David Carisle
the outer level document node constructor  is almost always implicit, 
which simplifies things and it wouldn't really be possible to do that if 
having two items was an error.
-------


In what language conventions is this the case ?

I have never found it to be the case myself, if I don't explicitly create a
document {} node none gets created.
But then I am much more familiar with XQuery then XSLT.
When is a document node created implicitly ?

If I run the xquery 
	1,"hi", <foo/>

I do NOT get a document node.



----------------------------------------
David A. Lee
dlee@calldei.com
http://www.xmlsh.org




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.