Jump to content
Sign in to follow this  
GendoPose

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;

 

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!

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