<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic XML Transformation : xmlns attribute in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transformation-xmlns-attribute/m-p/8815032#M1681587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Simple Transformations to create XML files and it works quite well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a new requirement :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add these attributes to the root element of my file :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ns"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ns"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN class="m"&gt;:tns1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="m"&gt;xmlns:xsi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;xsi:schemaLocation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output xml file should look like this (I show only the root element) :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN class="m"&gt;&amp;lt;&lt;/SPAN&gt;ROOT_ELEMENT&lt;SPAN class="ns"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN class="m"&gt;="&lt;STRONG&gt;value"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ns"&gt;xmlns:tns1&lt;/SPAN&gt;&lt;SPAN class="m"&gt;="&lt;/SPAN&gt;value&lt;SPAN class="m"&gt;"&lt;/SPAN&gt;&lt;SPAN class="ns"&gt; xmlns:xsi&lt;/SPAN&gt;&lt;SPAN class="m"&gt;="&lt;/SPAN&gt;&lt;STRONG class="ns"&gt;value&lt;/STRONG&gt;&lt;SPAN class="m"&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt; xsi:schemaLocation&lt;/SPAN&gt;&lt;SPAN class="m"&gt;="value&lt;/SPAN&gt;&lt;SPAN class="m"&gt;"&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I added this to my transformation code :&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tt:attribute name=&lt;SPAN class="L1S33"&gt;"&lt;/SPAN&gt;&lt;SPAN class="ns"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN class="L1S33"&gt;" value-ref=&lt;SPAN class="L1S33"&gt;"variable_containing_value"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tt:attribute name=&lt;SPAN class="L1S33"&gt;"&lt;/SPAN&gt;&lt;SPAN class="m"&gt;xmlns:xsi&lt;/SPAN&gt;&lt;SPAN class="L1S33"&gt;" value-ref=&lt;SPAN class="L1S33"&gt;"variable_containing_value"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tt:attribute name=&lt;SPAN class="L1S33"&gt;"xmlns:tns1" value-ref=&lt;SPAN class="L1S33"&gt;"variable_containing_value"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tt:attribute name=&lt;SPAN class="L1S33"&gt;"&lt;/SPAN&gt;xsi:schemaLocation&lt;SPAN class="L1S33"&gt;" value-ref=&lt;SPAN class="L1S33"&gt;"variable_containing_value"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33"&gt;My problem is that the transformation do not activate and I get the folowing syntax error for each attribute containing two parts (ie. part1:part2 , the attribute named "xmlns" works perfectly) :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;undeclared namespace prefix 'xmlns'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don't understand why..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--YC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2012 14:38:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-05-30T14:38:36Z</dc:date>
    <item>
      <title>XML Transformation : xmlns attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transformation-xmlns-attribute/m-p/8815032#M1681587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Simple Transformations to create XML files and it works quite well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a new requirement :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add these attributes to the root element of my file :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ns"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ns"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN class="m"&gt;:tns1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="m"&gt;xmlns:xsi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;xsi:schemaLocation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output xml file should look like this (I show only the root element) :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN class="m"&gt;&amp;lt;&lt;/SPAN&gt;ROOT_ELEMENT&lt;SPAN class="ns"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN class="m"&gt;="&lt;STRONG&gt;value"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ns"&gt;xmlns:tns1&lt;/SPAN&gt;&lt;SPAN class="m"&gt;="&lt;/SPAN&gt;value&lt;SPAN class="m"&gt;"&lt;/SPAN&gt;&lt;SPAN class="ns"&gt; xmlns:xsi&lt;/SPAN&gt;&lt;SPAN class="m"&gt;="&lt;/SPAN&gt;&lt;STRONG class="ns"&gt;value&lt;/STRONG&gt;&lt;SPAN class="m"&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt; xsi:schemaLocation&lt;/SPAN&gt;&lt;SPAN class="m"&gt;="value&lt;/SPAN&gt;&lt;SPAN class="m"&gt;"&lt;/SPAN&gt;&lt;SPAN class="m"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I added this to my transformation code :&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tt:attribute name=&lt;SPAN class="L1S33"&gt;"&lt;/SPAN&gt;&lt;SPAN class="ns"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN class="L1S33"&gt;" value-ref=&lt;SPAN class="L1S33"&gt;"variable_containing_value"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tt:attribute name=&lt;SPAN class="L1S33"&gt;"&lt;/SPAN&gt;&lt;SPAN class="m"&gt;xmlns:xsi&lt;/SPAN&gt;&lt;SPAN class="L1S33"&gt;" value-ref=&lt;SPAN class="L1S33"&gt;"variable_containing_value"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tt:attribute name=&lt;SPAN class="L1S33"&gt;"xmlns:tns1" value-ref=&lt;SPAN class="L1S33"&gt;"variable_containing_value"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;tt:attribute name=&lt;SPAN class="L1S33"&gt;"&lt;/SPAN&gt;xsi:schemaLocation&lt;SPAN class="L1S33"&gt;" value-ref=&lt;SPAN class="L1S33"&gt;"variable_containing_value"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33"&gt;My problem is that the transformation do not activate and I get the folowing syntax error for each attribute containing two parts (ie. part1:part2 , the attribute named "xmlns" works perfectly) :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;undeclared namespace prefix 'xmlns'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don't understand why..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--YC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 14:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transformation-xmlns-attribute/m-p/8815032#M1681587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-30T14:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: XML Transformation : xmlns attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transformation-xmlns-attribute/m-p/8815033#M1681588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yohann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; background-color: #ffffff; color: #000000;"&gt;hat works fine for your root element, because you define that all Elements has to use this namespace behind &lt;STRONG&gt;&lt;EM&gt;xmlns=&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;lt;tt:attribute name=&lt;/SPAN&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;"xmlns:tns1" ...&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;you set a attribute with Name tns1 wich use the Namespace wich is defined for the namespaceprefix &lt;STRONG&gt;xmlns&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Solution:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within your &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&amp;lt;tt:transform xmlns:tt="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.sap.com/transformation-templates"&gt;http://www.sap.com/transformation-templates&lt;/A&gt;&lt;SPAN&gt;" ... &amp;gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should define your namespace like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&amp;lt;tt:transform xmlns:tt="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.sap.com/transformation-templates"&gt;http://www.sap.com/transformation-templates&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:&lt;STRONG&gt;yourprefix&lt;/STRONG&gt;="&lt;STRONG&gt;yournamespace&lt;/STRONG&gt;" &amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use this prefix like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;lt;tt:attribute name=&lt;/SPAN&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;"&lt;EM&gt;&lt;STRONG&gt;yourprefix&lt;/STRONG&gt;&lt;/EM&gt;:tns1" value-ref=&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;"variable_containing_value"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;EM&gt;Greetings René&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 08:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transformation-xmlns-attribute/m-p/8815033#M1681588</guid>
      <dc:creator>rene_libbert</dc:creator>
      <dc:date>2012-06-01T08:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: XML Transformation : xmlns attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transformation-xmlns-attribute/m-p/8815034#M1681589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi René !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It helped but I'm not getting what I expect (yet )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I'm generating XML files, namespaces are contained into '&lt;EM&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;variable_containing_value' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;in my example.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;So, in your solution, "yournamespace" is not known as I'm writting the STRANS code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;Using your advice I get no error but the attibute name written in the xml file is : &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;tns1:tns1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;however, I need xmlns:tns1 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;maybe I'm not familiar enough with xml rules...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;Thank you for your help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;Regards, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;--YC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L1S33" style="font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 14:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transformation-xmlns-attribute/m-p/8815034#M1681589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-01T14:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: XML Transformation : xmlns attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transformation-xmlns-attribute/m-p/8815035#M1681590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yohann, &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I do not know how to implement this with the transformations. &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;You could use a fixed dummy namespace in the the transformation and change it later with ABAP tools. Either with simple strings operations or with the help of iXML libary. I've never tried this, but maybe IF_IXML_NAMESPACE_CONTEXT could help.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;With CL_UXS_XML_SERVICES=&amp;gt;STRING_TO_DOM you get an instance of iXML document&amp;nbsp; from your XML String. Using the method IF_IXML_DOCUMENT of the class GET_NAMESPACE_CONTEXT&amp;nbsp; you receive the above mentioned namespace tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Greetings Re&lt;/EM&gt;&lt;EM style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;né&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 05:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-transformation-xmlns-attribute/m-p/8815035#M1681590</guid>
      <dc:creator>rene_libbert</dc:creator>
      <dc:date>2012-06-06T05:54:39Z</dc:date>
    </item>
  </channel>
</rss>

