473,385 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

distinct values

Hi all!
i have an xml dataset with places and monuments. several monuments for one
place than the place appears several times.
how can i can read the dataset like DISTINCT ROWS? or how can i make this
with a dataview?
thx in advance
Nov 12 '05 #1
2 1672
Read about "grouping methods" in XSLT. One would typically use the Muenchian
method for grouping.

A good description can be found here:

http://jenitennison.com/xslt/grouping/

or here:
http://www.topxml.com/code/default.a...20010129150851
Cheers,

Dimitre Novatchev [XML MVP],
FXSL developer, XML Insider,

http://fxsl.sourceforge.net/ -- the home of FXSL
Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html
"Taryon" <ta****@fluxwire.com> wrote in message
news:Os*************@tk2msftngp13.phx.gbl...
Hi all!
i have an xml dataset with places and monuments. several monuments for one
place than the place appears several times.
how can i can read the dataset like DISTINCT ROWS? or how can i make this
with a dataview?
thx in advance

Nov 12 '05 #2
thx. helpful!

"Dimitre Novatchev [MVP]" <dn********@yahoo.com> wrote in message
news:bv************@ID-152440.news.uni-berlin.de...
Read about "grouping methods" in XSLT. One would typically use the Muenchian method for grouping.

A good description can be found here:

http://jenitennison.com/xslt/grouping/

or here:
http://www.topxml.com/code/default.a...20010129150851
Cheers,

Dimitre Novatchev [XML MVP],
FXSL developer, XML Insider,

http://fxsl.sourceforge.net/ -- the home of FXSL
Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html
"Taryon" <ta****@fluxwire.com> wrote in message
news:Os*************@tk2msftngp13.phx.gbl...
Hi all!
i have an xml dataset with places and monuments. several monuments for one place than the place appears several times.
how can i can read the dataset like DISTINCT ROWS? or how can i make this with a dataview?
thx in advance


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Florian | last post by:
Hi, I have a table that contains log data, usually around a million records. The table has about 10 columns with various attributes of the logged data, nothing special. We're using SQL Server...
8
by: Richard | last post by:
This is probably easy but I can't work it out. I have this statement SELECT DISTINCT TOP 100 PERCENT dbo.CIF_PlaceReference.Name FROM dbo.CIF_Departures INNER JOIN dbo.CIF_PlaceReference...
8
by: Rich | last post by:
My table looks like this: char(150) HTTP_REF, char(250) HTTP_USER, char(150) REMOTE_ADDR, char(150) REMOTE_HOST, char(150) URL, smalldatetime TIME_STAMP There are no indexes on this table...
5
by: Fred Zuckerman | last post by:
Can someone explain the difference between these 2 queries? "Select Distinct id, account, lastname, firstname from table1" and "Select DistinctRow id, account, lastname, firstname from table1" ...
7
by: Johnathan Doe | last post by:
I can google search to find the range of values that can be represented in a float by reading up on the IEEE std, but is that the same as how many distinct values that can go in a float type? ...
1
by: perspolis | last post by:
Hi everybody is it possible to use Distict sql in DataTable.or DataView.. for example dt.DefaultView.RowFilter="Distinct Code"; ??
5
by: sdowney717 | last post by:
from this, circdate being a datetime field: SQLQuery = "select distinct circdate from circdata order by circdate" I need the distinct date portion excluding the time part. this has come about...
5
by: Daniel Wetzler | last post by:
Dear MSSQL experts, I use MSSQL 2000 and encountered a strange problem wqhile I tried to use a select into statement . If I perform the command command below I get only one dataset which has...
1
newnewbie
by: newnewbie | last post by:
Desperately need help in creating a query to count unique values in a table. I am a Business analyst with limited knowledge of Access….My boss got me ODBC connection to the underlying tables for our...
3
by: Yogesh Sharma | last post by:
I want to select that rollnos which have distinct name & address. create table studento(roll int,name varchar,address varchar(5)) insert into studento values(1,'A','ADD1') insert into studento...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.