Jump to content
Sign in to follow this  
josephmmorgan@hotmail.com

Transform Flat Format to Hierarchical

Recommended Posts

I have a situation that is well over my head. I need to take a flat layout and transform it into a hierarchical layout. (See attachments)

 

I actually have a prototype XSLT that uses named templates and having one template call the other to create somewhat of the hierarchy. Currently, the structures are repeating. I need to know how not to have them repeat. I also can't get my head around how to find and extract the complete content at the correct place.

 

I would have posted my XSLT, but, I may be headed in completely the wrong direction. What I'd like is to get proper guidance on how to do it.

 

I suspect I'll have to learn about muenchian grouping, but still have no idea how to proceed.

 

I'm also limited to XSLT 1.0.

 

 

SampleCustomerSalesHierarchical.xml

SampleCustomerSalesFlat.xml

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...