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

Re: Checking element to see if it has children...

Subject: Re: Checking element to see if it has children...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 9 Dec 2003 14:06:49 GMT
xsl has branches
> Of course the most obvious to me is that trees grow "up"
> from the root, 

Computer scientists. they spend too long indoors and never quite got the
hang of which way up a tree grows.

> "It's *like* a tree rather than it *is* a tree--if we're
> using analogies.)

It's no longer really an analogy, a "tree" has a techical definition:
it _is_ a rooted acyclic connected graph,
ie a network with one distinguished node, from which you can reach every
other node in the network, and there are no loops. The thing that
allegedly grows outside is just some folk memory of a more rural time:-)

> I'm thinking about attributes because they're not extensible. 
ah, yes you have to extend the concept to "labeled trees" in which the
nodes have structure to capture attributes. (Or alternatively, and
closer to the Xpath model, you have to have different kinds of branches in
your tree, as well as the usual branches expressing child relationship,
you need other kinds, for attributes and namespaces.)

> I appreciate it when people take the time to
> help me but I don't appreciate it when people refer me to the FAQ.

Many people ask on the list because they've been sent here (eg from
xml-dev:-) so they may not even know there is a faq. I just pointed out
its existence as a possibly useful piece of extra information over the
specific answer I gave.

> At present, the concepts
> are presented incorrectly for incidental learning as there aren't any
> conceptual relationships (analogies) being taught

the FAQ is what it says it isL a list of fewquently asked questions, if
you want a more organised themed tutorial site there are plenty of those
as well (eg zvon's) or books such as Jeni's beginning xslt.

David



-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.