Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how XSLT get distinct node item counts?

843834Mar 11 2005 — edited Mar 12 2005
hi:
I have data like follow:
hi:
I have data like follow:
<?xml version="1.0" encoding="UTF-8"?>
<Rows>
	<Row>
		<startDate>2005-1-1</startDate>
		<endDate>2005-1-31</endDate>
		<empid>00001</empid>
		<name>William</name>
	</Row>
	<Row>
		<startDate>2005-1-1</startDate>
		<endDate>2005-1-31</endDate>
		<empid>00002</empid>
		<name>Peter</name>
		<sex>Male</sex>
	</Row>
	<Row>
		<startDate>2005-1-1</startDate>
		<endDate>2005-1-31</endDate>
		<empid>00002</empid>
		<name>Frankie</name>
		<sex>Male</sex>
	</Row>
	<Row>
		<startDate>2005-1-1</startDate>
		<endDate>2005-1-31</endDate>
		<empid>00002</empid>
		<name>Peter</name>
		<sex>Male</sex>
		<high>180cm</high>
	</Row>
</Rows>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 9 2005
Added on Mar 11 2005
3 comments
254 views