Lists Home |
Date Index |
- From: Andrew Bunner <email@example.com>
- To: firstname.lastname@example.org
- Date: Tue, 08 Sep 1998 09:26:07 -0700
Let's say I'm describing the hiearchy of our web site in an XML
document like so...
In a given section, the user has links to all the other pages in
that section as well as top-level links to the other sections. In other
words, I only want to "expand" the section that the user is
An XML document that's a part of this hiearchy has some tag that
says where it fits in. Maye 1.1.xml will have <page title="Page
1.1"/> or something... (e.g.
In the XSL proposal, I'd have a field day writing a nifty Java
Script function to do exactly this... in the new world, I'm not sure it
can be done at all.
The crux of the problem is that I don't know how to make the
<xsl:if test="..."> compare the contents or attribute
values of one tag to the content or attribute values of another tag. It
appears as though the only thing you can do is with the test attribute is
test the position of a tag relative to other tags and what attributes it
I'd like to do something like this...
of page title for this
Obviously, line 5 needs some work. If anyone has any ideas or
suggestions on how to reach the goal of spitting out something like the
table below, I would be very grateful...
President, Founder Mass Quantities, Inc.
Professional Supplements for the Perfect