This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Testing for presence of node, etc.
- From: "Joel Konkle-Parker" <jjk3 at msstate dot edu>
- To: "XSL-List" <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 21 May 2002 14:39:59 -0500
- Subject: [xsl] Testing for presence of node, etc.
- Reply-to: xsl-list at lists dot mulberrytech dot com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In my xml document, I have several nodes of type <link type=""
url=""></link>, where type may one of several different things, and
more than one node may have the same @type. I want to be able to test
whether any nodes exist that have a specific @type and if so, output
a certain heading. I then need to output a string of text for each
occurrance of a specific @type. Obviously I don't want the heading to
output for each occurance.
If I haven't confused everyone already, what suggestions do you have
about the best way to do this?
- -joeljkp
- ---------------------------------------
http://www.ballsome.com
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBPOqijn880CLOJa2eEQLSIACg5huFaMVMDeY/8IC4Gz2i5m3G99MAn07X
j4BhXj6SIw4Udx/L24yy7izh
=aQVD
-----END PGP SIGNATURE-----
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list