Sep 27

Written by: Soul Solutions
Wednesday, 27 September 2006 

BronwenWeeGo.jpgBit rusty on the old xsl transforms...but i had a case today where i needed to add a namespace to search one file, but my output file i need to not have that namespace.  It's actually really easy, once you read the doco...use the exclude-result-prefixes attribute e.g.

xmlns:ns1=http://www.soulsolutions.com.au/mynamespace exclude-result-prefixes="ns1"

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
Copyright © 2002-2013 Soul Solutions Pty Ltd. | Login