Printing attributes names from XML action

Printing attributes names from XML action

  
Hello People,

I am generating an XML file and using "XmlElement_AppendAttribute" from Xml extension. I am setting attribute name as "xsi:schemaLocation" but in generated xml, it's returning result as "schemaLocation" only.



Please advice.

Thanks,
Suraj Borade

do you provide the namespaces in your root element/ xmlDocument?


Hi J,

Yes root element contains namespaces.

My xml structure is like this 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<xliff version="1.2" xmlns:optra="http://www.optra.com" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/cs02/xliff-core-1.2-transitional.xsd" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <file original="P024_Echelon 13_en-US_Datasheet.xlf" source-language="en-US" datatype="database" product-name="® G19s Gaming Keyboard" product-version="v0.1" product-line-code="P024" product-line-sys-id="10000000005663" comm-brief-sys-id="10000000020777" xliff-format-type="Datasheet" comm-brief-identifier="Default">
    <body>

.

.

.

Thanks and Regards,

Suraj Borade