Click here to Skip to main content
15,917,005 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralGroup problem Pin
Ahmet Orkun GEDiK26-Aug-02 11:32
sussAhmet Orkun GEDiK26-Aug-02 11:32 
GeneralRe: Group problem Pin
Ranjan Banerji28-Aug-02 7:18
Ranjan Banerji28-Aug-02 7:18 
GeneralGroup problem Pin
Ahmet Orkun GEDiK26-Aug-02 11:29
sussAhmet Orkun GEDiK26-Aug-02 11:29 
Generalsorting Pin
Sonu Kapoor26-Aug-02 9:36
Sonu Kapoor26-Aug-02 9:36 
GeneralRe: sorting Pin
Ranjan Banerji26-Aug-02 9:52
Ranjan Banerji26-Aug-02 9:52 
GeneralRe: sorting Pin
Sonu Kapoor26-Aug-02 20:17
Sonu Kapoor26-Aug-02 20:17 
GeneralRe: sorting Pin
12-Sep-02 4:23
suss12-Sep-02 4:23 
GeneralXSLT grouping Pin
Catimus22-Aug-02 10:50
Catimus22-Aug-02 10:50 
hola,
i have this xml recordset which looks like this
<DataSet>
<User>
<ID>JoeG</ID>
<FNAME>Joli</FNAME>
<LNAME>Gantz</LNAME>
<SSN>400-00-0000<SSN
</User>
<User>
<ID>Joe4</ID>
<FNAME>Joseph</FNAME>
<LNAME>Gour</LNAME>
<SSN>500-00-0000<SSN
</User>
<User>
<ID>Joe4</ID>
<FNAME>Joseph</FNAME>
<LNAME>Gour</LNAME>
<SSN>500-00-0000<SSN
</User>
</DataSet>

Basically I am trying to find a way to transform this xml into something that will have two or however many users in a page element so the output would be something like this.

<DataSet>
<page>
<User>
<ID>JoeG</ID>
<FNAME>Joli</FNAME>
<LNAME>Gantz</LNAME>
<SSN>400-00-0000<SSN
</User>
<User>
<ID>Joe4</ID>
<FNAME>Joseph</FNAME>
<LNAME>Gour</LNAME>
<SSN>500-00-0000<SSN
</User>
</page>
<page>
<User>
<ID>Joe4</ID>
<FNAME>Joseph</FNAME>
<LNAME>Gour</LNAME>
<SSN>500-00-0000<SSN
</User>
<User>
<ID>Joe90</ID>
<FNAME>Joseph90</FNAME>
<LNAME>Ninety</LNAME>
<SSN>500-00-0000<SSN
</User>
<page>
</DataSet>

any one have any ideas as to how i can achieve this? I can get a page attribute around every user, but i would like to be able to put it around every X number of users, if anyone has any ideas i would really appreciate the help. sorry for the length of this post.

thanks

GeneralRe: XSLT grouping Pin
Zdenek Navratil22-Aug-02 21:40
Zdenek Navratil22-Aug-02 21:40 
GeneralProblem with 'contains' function Pin
SigEpUCI19-Aug-02 14:39
SigEpUCI19-Aug-02 14:39 
GeneralRe: Problem with 'contains' function Pin
Michael A. Barnhart20-Aug-02 1:53
Michael A. Barnhart20-Aug-02 1:53 
QuestionAttribute value choking parser? Pin
SigEpUCI16-Aug-02 17:07
SigEpUCI16-Aug-02 17:07 
AnswerRe: Attribute value choking parser? Pin
Michael A. Barnhart17-Aug-02 9:48
Michael A. Barnhart17-Aug-02 9:48 
AnswerRe: Attribute value choking parser? Pin
Zdenek Navratil21-Aug-02 3:04
Zdenek Navratil21-Aug-02 3:04 
GeneralXPath query Pin
Jan R Hansen15-Aug-02 5:00
Jan R Hansen15-Aug-02 5:00 
GeneralRe: XPath query Pin
Christopher Lord15-Aug-02 7:27
Christopher Lord15-Aug-02 7:27 
GeneralRe: XPath query Pin
Jan R Hansen15-Aug-02 22:13
Jan R Hansen15-Aug-02 22:13 
GeneralRe: XPath query Pin
Philip Fitzsimons16-Aug-02 0:28
Philip Fitzsimons16-Aug-02 0:28 
QuestionWhat wrong with this clause?? Pin
Tida13-Aug-02 9:51
Tida13-Aug-02 9:51 
AnswerRe: What wrong with this clause?? Pin
Christopher Lord14-Aug-02 16:43
Christopher Lord14-Aug-02 16:43 
GeneralRe: What wrong with this clause?? Pin
Tida15-Aug-02 2:55
Tida15-Aug-02 2:55 
AnswerRe: What wrong with this clause?? Pin
Ranjan Banerji15-Aug-02 3:33
Ranjan Banerji15-Aug-02 3:33 
QuestionSchema: exclude element from occuring within itself? Pin
Jonnie White13-Aug-02 1:49
Jonnie White13-Aug-02 1:49 
GeneralEmbedded html Pin
Lilian Chan-Grant6-Aug-02 10:03
Lilian Chan-Grant6-Aug-02 10:03 
GeneralRe: Embedded html Pin
Lilian Chan-Grant7-Aug-02 9:28
Lilian Chan-Grant7-Aug-02 9:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.