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

how to build a cross referenced list?

Subject: how to build a cross referenced list?
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Tue, 18 Jul 2000 15:50:35 -0700
build a cross
We have different documents that need to show up in a list like this:
--------------------------
Arts and Sciences
  Crafts
      Make Money to Retire... <!-- this is a link <a
href="e-chapters/yadayada/file.htm">-->
      somethingElse... <!-- this is a link <a
href="e-chapters/somethingElse/file.htm">-->
  Hobbies
      Make Money to Retire... <!-- this is a link <a
href="e-chapters/yadayada/file.htm">-->
      somethingElse... <!-- this is a link <a
href="e-chapters/somethingElse/file.htm">-->
-------------------------
There are categories that are broken down by subcategories.  Can anybody
tell me a good approach to this problem? Here is a sample of XML:

<section>
    <section id="e-chapters">
        <directory id="yadayada">
            <label>Make money to retire...</label>
            <category id="Arts and Sciences">
                <subcategory id="Crafts"/>
                <subcategory id="Hobbies"/>
            </category>
        </directory>

        <directory id="somethingElse">
            <label>something else...</label>
            <category id="Arts and Sciences">
                <subcategory id="Crafts"/>
                <subcategory id="Hobbies"/>
            </category>
        </directory>
    </section>

TIA,
Rob



 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.