Click here to Skip to main content
15,922,407 members
Home / Discussions / XML / XSL
   

XML / XSL

 
Questionhow to get value from XML Pin
sharma sanjeev22-May-06 0:58
sharma sanjeev22-May-06 0:58 
AnswerRe: how to get value from XML Pin
led mike22-May-06 12:14
led mike22-May-06 12:14 
Questionabout xml efficiency Pin
HeartFriend22-May-06 0:25
HeartFriend22-May-06 0:25 
QuestionOPEN XML Pin
NICE TO MEET19-May-06 3:14
NICE TO MEET19-May-06 3:14 
QuestionHow to use insert , update , del operations on XML file used as database Pin
ArjunMK18-May-06 5:09
ArjunMK18-May-06 5:09 
AnswerRe: How to use insert , update , del operations on XML file used as database Pin
George L. Jackson18-May-06 16:00
George L. Jackson18-May-06 16:00 
QuestionXSL Transformation--ignore previous post Pin
subbakka18-May-06 3:10
subbakka18-May-06 3:10 
QuestionXSL Transformation Pin
subbakka18-May-06 3:10
subbakka18-May-06 3:10 
I am new to XSL and I need help.

I have the following xml:

<documents>
<document>
<docid>1
<status>1
<page>1

<document>
<docid>1
<status>1
<page>2

<document>
<docid>1
<status>2
<page>1

<document>
<docid>2
<status>1
<page>1

<document>
<docid>2
<status>2
<page>1

<document>
<docid>2
<status>3
<page>1

<document>
<docid>3
<status>1
<page>1

<document>
<docid>3
<status>1
<page>2

<document>
<docid>3
<status>1
<page>3



I have to sort the documents with DocId and Status. I would like to transform this xml to:

<documents>
<document>
<docid>1
<pages>
<page>
<status>1
<page>1

<page>
<status>1
<page>2



<document>
<docid>1
<pages>
<page>
<status>2
<page>1



<document>
<docid>2
<pages>
<page>
<status>1
<page>1



<document>
<docid>2
<pages>
<page>
<status>2
<page>1



<document>
<docid>2
<pages>
<page>
<status>3
<page>1



<document>
<docid>3
<pages>
<page>
<status>1
<page>1

<page>
<status>1
<page>2

<page>
<status>1
<page>3





Please help!!!

Subbakka
AnswerRe: XSL Transformation Pin
Colin Angus Mackay18-May-06 4:34
Colin Angus Mackay18-May-06 4:34 
QuestionXML to XSLT Transformation Pin
nitskale17-May-06 22:25
nitskale17-May-06 22:25 
QuestionHyperlink in XML Pin
JoJuPi0117-May-06 11:03
JoJuPi0117-May-06 11:03 
AnswerRe: Hyperlink in XML Pin
ThatsAlok31-May-06 0:20
ThatsAlok31-May-06 0:20 
AnswerRe: Hyperlink in XML Pin
George L. Jackson17-May-06 10:38
George L. Jackson17-May-06 10:38 
QuestionCan I use IXMLDOMDocumentPtr object in VC++6 Pin
Cyber Friend17-May-06 2:02
Cyber Friend17-May-06 2:02 
AnswerRe: Can I use IXMLDOMDocumentPtr object in VC++6 Pin
George L. Jackson17-May-06 8:43
George L. Jackson17-May-06 8:43 
QuestionExport xml to excel using servlet Pin
vidya dumbel16-May-06 18:40
vidya dumbel16-May-06 18:40 
QuestionXML and sorting Pin
donkaiser16-May-06 8:39
donkaiser16-May-06 8:39 
AnswerRe: XML and sorting Pin
donkaiser16-May-06 8:42
donkaiser16-May-06 8:42 
AnswerRe: XML and sorting Pin
George L. Jackson16-May-06 17:30
George L. Jackson16-May-06 17:30 
GeneralRe: XML and sorting Pin
donkaiser17-May-06 3:41
donkaiser17-May-06 3:41 
AnswerRe: XML and sorting Pin
George L. Jackson17-May-06 4:34
George L. Jackson17-May-06 4:34 
GeneralRe: XML and sorting Pin
donkaiser18-May-06 3:20
donkaiser18-May-06 3:20 
GeneralRe: XML and sorting Pin
George L. Jackson18-May-06 11:59
George L. Jackson18-May-06 11:59 
AnswerRe: XML and sorting Pin
led mike16-May-06 8:57
led mike16-May-06 8:57 
QuestionHelp mapping & updating xml files data to tables of MS Access database through vc++ Pin
nrj2315-May-06 17:39
nrj2315-May-06 17:39 

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.