Jump to content

XSLT copying lots of extra data


Recommended Posts

Hi All,


I'm very new to XSLT, so I've pretty much got this far with lots of other people's help.


I'm trying to create an XML to import into one of the systems we use at my workplace, and it has to follow a very strict structure. I've almost got it exactly how I need, the structure is exact, however my XSLT ends up copying lots of extra data that I don't need and I'm not sure how I'd get rid of it.


Here is my current XSLT;




Here is my current output;




Here is my desired output;




How do I get rid of all of the extra data that appears after the close of the "order" tag?


Thanks all!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...