Jump to content

Recommended Posts

Posted

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;

 

http://pastebin.com/FjLX5T6J

 

Here is my current output;

 

http://pastebin.com/B3S7sCzf

 

Here is my desired output;

 

http://pastebin.com/J6sRC2sj

 

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

 

Thanks all!

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...