• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to insert a structure into XML

 
David Edds
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Consider I have a large XML file of the format: /a/b/c/d

I would like to insert the structure e/f/blah blah blah at a point in the existing document (for example at point c). How can I use an XSL transform to do this?

Personally (for better or worse) I have used the following XSL, where the parameter enrichment supplies the text to be inserted:



Now a further question is, rather than inserting it at a point defined in the XSL (/a/b/c) how can I make the insertion at a point as defined by parameter?

Thanks,
David
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic