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

Re: Selecting First Direct Sibling

Subject: Re: Selecting First Direct Sibling
From: "CyberSpace Industries 2000 Inc." <csi2000@xxxxxxxxxxxxxxx>
Date: Tue, 21 Aug 2007 10:24:16 -0400
Re:  Selecting First Direct Sibling
In my classes - there is typically at least one student who will get surprised by this.

Everything in the input XML will create a node - even whitespace (tabs, line end, LF/CR) unless you take explicit steps to remove the white space as not important to your processing. A text node IS an actual node whose value is the text - even if it is white space.

Cheers...Hugh

CyberSpace Industries 2000 Inc.
Multimedia Promotions
XML Training and Consulting
http://cyberspace-industries-2000.com


----- Original Message ----- From: "Wasiq Shaikh" <wasiq911@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, August 21, 2007 9:01 AM
Subject: RE: Selecting First Direct Sibling



Oh I see. I had always thought that node() would select an actual node or text. Didn't think it would select blank spaces.

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.