grouping in xslt as a single node instead of group of nodes
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Fri Jun 27, 2008 1:10 pm
grouping in xslt as a single node instead of group of nodes
Post by gaziebasha »
Hi,
I have my xml like below
<compType>
<round roundNumber =1 name"xyz">
<fixture fixtureId="1063" status="NotStarted" >
</round>
<round roundNumber =1 name"dgb">
<fixture fixtureId="334" status="NotStarted" >
</round>
<round roundNumber =2 name"dgb">
<fixture fixtureId="334" status="NotStarted" >
</round>
</compType>
I know I can group the rounds with the same round number but still that group is returning a group of round nodes. But I want just one round node with all child elements of all rounds are copied into one whose round numbers are same such as below
<compType>
<round roundNumber =1 name"xyz">
<fixture fixtureId="1063" status="NotStarted" >
<fixture fixtureId="334" status="NotStarted" >
</round>
<round roundNumber =2 name"dgb">
<fixture fixtureId="334" status="NotStarted" >
</round>
</compType>
Your help will be highly appriciated
Thanks,
Gazi
I have my xml like below
<compType>
<round roundNumber =1 name"xyz">
<fixture fixtureId="1063" status="NotStarted" >
</round>
<round roundNumber =1 name"dgb">
<fixture fixtureId="334" status="NotStarted" >
</round>
<round roundNumber =2 name"dgb">
<fixture fixtureId="334" status="NotStarted" >
</round>
</compType>
I know I can group the rounds with the same round number but still that group is returning a group of round nodes. But I want just one round node with all child elements of all rounds are copied into one whose round numbers are same such as below
<compType>
<round roundNumber =1 name"xyz">
<fixture fixtureId="1063" status="NotStarted" >
<fixture fixtureId="334" status="NotStarted" >
</round>
<round roundNumber =2 name"dgb">
<fixture fixtureId="334" status="NotStarted" >
</round>
</compType>
Your help will be highly appriciated
Thanks,
Gazi
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