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

RE: Clever ideas to do toc...

  • From: Andrew Bunner <bunner@m...>
  • To: xml-dev@i...
  • Date: Tue, 08 Sep 1998 15:24:45 -0700

clever names

>You could swipe a good idea from the relational database folks, and number
>the tree nodes sequentially, and then select a sub-tree based on a range of
>node numbers.  I've lost the original reference (from DBMS Magazine) but
>here's a quick example from a similar problem:
>
>Hierarchical organizational trees:
>
>1.    Company (1,6)
>2.        Department A (2,4)
>3.            Group A1 (3,3)
>4.            Group A2 (4,4)
>5.        Department B (5,6)
>6.            Group B1 (6,6)
>
>This allows you to represent the whole company, hierarchical info, etc. in
>one table.  A node that contains additional nodes can be expanded by
>showing the range of nodes listed for that parent node .  It doesn't handle
>more complicated relationships, such as multiple parents, though.

  This sounds like a good idea, and the way one might do this in XML is by
using the id attribute and then doing some kind of comparison on it.
Unforunately, I can't really explore this possibility because this is one
of only two features missing from xt (the XSL processor I'm using).
id(name) in patterns is specifically mentioned in the xt release notes as
not working. I don't know of a better XSL processor (that implements the
working draft)... if anyone else does, please share.

  Thanks for your input! If it looks like I'm on the wrong page re:
implementation, don't hesitate to shove me in the correct direction.

-- Andrew

   Andrew Bunner
   President, Founder Mass Quantities, Inc.
   Professional Supplements for the Perfect Physique
   http://www.massquantities.com 

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.