[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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.
|
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
|