XSLT 2.0 - Group by partial value of an attribute
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 91
- Joined: Tue Jul 17, 2018 6:57 am
XSLT 2.0 - Group by partial value of an attribute
Post by msambasiva »
Hi,
We are using XSLT 2.0.
We have a requirement to group the services based on product which is part of an attribute value. Below is the part of xml taken to brief you the requirement.
In the below xml, there are three services. Two services are from commonWorkExecution prodcut.
The expected output is as follows
Product(Level 1) Service (Level 2)
commonWorkExecution
Work Order Material Transaction Service
Work Order Operation Transaction Service
orderPromising
Order Promising Service
<services>
<chapterSummary>
<text>This chapter describes the SOAP web services available for abc Sales Cloud.</text>
</chapterSummary>
<service anchor="abc.apps.scm.orderPromising.orderPromising.orderPromisingServiceV2.OrderPromisingService"/>
<service anchor="abc.apps.scm.commonWorkExecution.workOrderMaterialTransactions.materialTransactionsService.WorkOrderMaterialTransactionService"/>
<service anchor="abc.apps.scm.commonWorkExecution.operationTransactions.operationTransactionsService.WorkOrderOperationTransactionService"/>
Any clue would be really great help.
Thanks,
Samba.
We are using XSLT 2.0.
We have a requirement to group the services based on product which is part of an attribute value. Below is the part of xml taken to brief you the requirement.
In the below xml, there are three services. Two services are from commonWorkExecution prodcut.
The expected output is as follows
Product(Level 1) Service (Level 2)
commonWorkExecution
Work Order Material Transaction Service
Work Order Operation Transaction Service
orderPromising
Order Promising Service
<services>
<chapterSummary>
<text>This chapter describes the SOAP web services available for abc Sales Cloud.</text>
</chapterSummary>
<service anchor="abc.apps.scm.orderPromising.orderPromising.orderPromisingServiceV2.OrderPromisingService"/>
<service anchor="abc.apps.scm.commonWorkExecution.workOrderMaterialTransactions.materialTransactionsService.WorkOrderMaterialTransactionService"/>
<service anchor="abc.apps.scm.commonWorkExecution.operationTransactions.operationTransactionsService.WorkOrderOperationTransactionService"/>
Any clue would be really great help.
Thanks,
Samba.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XSLT 2.0 - Group by partial value of an attribute
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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