This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Attribute test
- To: xsl-list at mulberrytech dot com
- Subject: Attribute test
- From: "Medina, Edward" <emedina at btg dot com>
- Date: Wed, 12 Apr 2000 09:56:14 -0400
- Reply-To: xsl-list at mulberrytech dot com
Hello there!
I'm wondering if I could use XSL to do the following.
(I don't know how the code would look like)
I need to make the XSLT to test every attribute
called priority in a document (<document> being the top
element) and capture the highest priority of the entire
document, and display it at the top and bottom of the
document. (I know how to make it display)
What I don't know is how to make xsl test every
attribute called priority in every element and return the
highest value. Anyone have any idea if this could even
be done with XSL.
FYI, One suggestion was create an xml document against
which the xsl makes a comparison with all the priority
attributes. This xml would be hard coded as an xpath in
all the xml documents. (Even with this suggestion I have
no idea where to begin, I've been doing some research and
have not come up with anything yet)
Any help is appreciated.
Thanks,
Eddy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list