This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Counting nodes


the namespace you are using is outdated..
Is it a serious design consideration that you use the namespace you are using now??
if not then i reckon you use the namespace as below
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

Vasu



From: "Mike Leahy" <mgleahy@fes.uwaterloo.ca>
Reply-To: xsl-list@lists.mulberrytech.com
To: <XSL-List@lists.mulberrytech.com>
Subject: [xsl] Counting nodes
Date: Tue, 2 Jul 2002 09:51:49 -0400

Hello list,

I am using the namespace "http://www.w3.org/TR/WD-xsl";

I would like to be able to count the occurrance of a particular tag (e.g.
"procstep" can occur multiple times within "metadata/dataqual/lineage" in
the XML files I am using).  The count function is not a recognized function
in the namespace I am using - is there any other way I could get this
number?

Mike


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]