Re: [xsl] Lookup table and maintaining hierarchy

Subject: Re: [xsl] Lookup table and maintaining hierarchy
From: Mir Farooq Ali <mfali@xxxxxxxxx>
Date: Sun, 06 Jun 2004 16:56:33 -0400
Michael Kay wrote:
This looks like one of those "spot the difference" competitions. In the 30
seconds I allow for looking at questions on this list, I can't spot the
difference between your lookup file and your output file.

Perhaps you should spend a little longer formulating the question.

Michael Kay



I'm sorry for my mistake in copy-paste. Here is what the output file should actually look like.


<?xml version="1.0" encoding="utf-8" ?>
<S>
    <p id="something1" c="XXXX">
        <p id="something11" c="YYYY" />
        <p id="something12" c="ZZZZ" />

        <p id="somethinga1" c="XXXX">
            <p id="somethinga11" c="YYYY" />
            <p id="somethinga12" c="ZZZZ" />

            <p id="somethingb1" c="XXXX">
                <p id="somethingb11" c="YYYY" />
                <p id="somethingb12" c="ZZZZ" />
            </p>
            <p id="somethingc1" c="WWWW" />
        </p>
        <p id="somethingd1" c="WWWW" />
    </p>
    <p id="somethinge1" c="WWWW" />
</S>


-- Mir Farooq Ali

Computer Science, Virginia Tech,
Email: miali@xxxxxxxxx
Web: http://purl.org/net/farooq
Office: 525 McBryde Hall
Tel: (540) 231-1927 (Office)
--------------------------------------------
(c) 2004 Mir Farooq Ali  All rights reserved
--------------------------------------------


Current Thread