How to Sort XML message
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Thu Nov 08, 2007 9:58 am
- Location: Kakinada
How to Sort XML message
Hi all,
I am working as an XI developer, we are using XSLT mapping programms in XI. Now i have a requirement like I am sending from one XML message to another XML message. here my requirement is suppose I have a XML structure like bellow.
<List>
<EMID>1002</EMID>
<Ename>AAA</Ename>
<DeptID>10</DeptID>
<List>
<List>
<EMID>1003</EMID>
<Ename>BBB</Ename>
<DeptID>10</DeptID>
<List>
<List>
<EMID>1001</EMID>
<Ename>CCC</Ename>
<DeptID>10</DeptID>
<List>
I want to sort this structure with EMID wise and send to target as bellow
<List>
<EMID>1001</EMID>
<Ename>CCC</Ename>
<DeptID>10</DeptID>
<List>
<List>
<EMID>1002</EMID>
<Ename>AAA</Ename>
<DeptID>10</DeptID>
<List>
<List>
<EMID>1003</EMID>
<Ename>BBB</Ename>
<DeptID>10</DeptID>
<List>
How can I achive this requirement.
Thanks in advance,
Satish
I am working as an XI developer, we are using XSLT mapping programms in XI. Now i have a requirement like I am sending from one XML message to another XML message. here my requirement is suppose I have a XML structure like bellow.
<List>
<EMID>1002</EMID>
<Ename>AAA</Ename>
<DeptID>10</DeptID>
<List>
<List>
<EMID>1003</EMID>
<Ename>BBB</Ename>
<DeptID>10</DeptID>
<List>
<List>
<EMID>1001</EMID>
<Ename>CCC</Ename>
<DeptID>10</DeptID>
<List>
I want to sort this structure with EMID wise and send to target as bellow
<List>
<EMID>1001</EMID>
<Ename>CCC</Ename>
<DeptID>10</DeptID>
<List>
<List>
<EMID>1002</EMID>
<Ename>AAA</Ename>
<DeptID>10</DeptID>
<List>
<List>
<EMID>1003</EMID>
<Ename>BBB</Ename>
<DeptID>10</DeptID>
<List>
How can I achive this requirement.
Thanks in advance,
Satish
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service