Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About mcheit

  • Rank
  • Birthday 03/01/1979

Profile Information

  • Location
  1. Hello boen_robot,actually your solution feets well to my need, the problem was related to the attribute namespace. During my search I found something else that seems to be usefull for related issues: the element xsl:namespace-alias . I do not have enought time to explore this track.Thanks again Benjamin
  2. Hello boen_robot, thanks a lot for this fast reply! The namespace has to be different in the output indeed. The solution you proposed looks elegant but I still have a problem, since my transformed XML is read but a system that does not understand xmlns="faa"...My XML looks like: <?xml version="1.0" encoding="UTF-8"?><foo:fooDocument xmlns:foo="http://www.foo.com/xml"> <foo:customer> <foo:id>1234</foo:id> <foo:name>Toto</foo:name> </foo:customer></foo:fooDocument> And now my XSL is: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/
  3. Hello all,I am trying to replace the namespace from the nodes of a XML file, thanks to a XSL transformation. I saw a serie of samples on internet that allow to replace the node content, but not the node itself...To make it clearer, I have: <foo:customer> <foo:id>1234</foo:id> <foo:name>Toto</foo:name></foo:customer> And I would like as the result of my transformation: <faa:customer> <faa:id>1234</faa:id> <faa:name>Toto</faa:name></faa:customer> Maybe someone has already have something similar to do?Thanks, Benj
  • Create New...