<?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 Re: XMLv2 accent - encoding in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/377984#M276765</link>
    <description>&lt;P&gt;Hello Tom:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help the result was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%put %sysfunc(getoption(encoding));&lt;BR /&gt;LATIN1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2017 02:39:18 GMT</pubDate>
    <dc:creator>nigromx</dc:creator>
    <dc:date>2017-07-21T02:39:18Z</dc:date>
    <item>
      <title>XMLv2 accent - encoding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/377961#M276763</link>
      <description>&lt;P&gt;Hello everyone:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question, I trying read an xml file from a webservice, all is ok until I want load result into a dataset. The problem occurrs by an accent into xml tag, by example &amp;lt;country&amp;gt;México&amp;lt;/country&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is the code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename response '/tmp/Output.xml';&lt;BR /&gt;filename respmap '/tmp/Output.map';&lt;BR /&gt;&lt;BR /&gt;Libname response xmlv2 xmlmap=respmap automap=replace;&lt;BR /&gt;Libname clmfile XMLV2 '/tmp/Output.xml' XMLMAP='/tmp/Output.map';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The error is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The creation of the XML Mapper file failed.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 22:58:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/377961#M276763</guid>
      <dc:creator>nigromx</dc:creator>
      <dc:date>2017-07-20T22:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: XMLv2 accent - encoding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/377975#M276764</link>
      <description>&lt;P&gt;What encoding is your SAS session using? &amp;nbsp;Run either of these lines of code to find out.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option=encoding; run;
%put %sysfunc(getoption(encoding));
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Jul 2017 01:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/377975#M276764</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-07-21T01:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: XMLv2 accent - encoding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/377984#M276765</link>
      <description>&lt;P&gt;Hello Tom:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help the result was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%put %sysfunc(getoption(encoding));&lt;BR /&gt;LATIN1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 02:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/377984#M276765</guid>
      <dc:creator>nigromx</dc:creator>
      <dc:date>2017-07-21T02:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: XMLv2 accent - encoding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/377987#M276766</link>
      <description>&lt;P&gt;You will probably need to run SAS&amp;nbsp;with unicode support so that it can handle the characters.&lt;/P&gt;
&lt;P&gt;You might be able to just get away with adding an ENCODING=option to the filename statement that points to the XML file.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 02:50:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/377987#M276766</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-07-21T02:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: XMLv2 accent - encoding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/378079#M276767</link>
      <description>&lt;P&gt;&lt;BR /&gt;filename x temp;&lt;BR /&gt;Libname response xmlv2&amp;nbsp;'/tmp/Output.xml' &amp;nbsp; xmlmap=x&amp;nbsp;&amp;nbsp; automap=replace;&lt;/P&gt;
&lt;P&gt;proc copy in=response&amp;nbsp; out=work noclone;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 11:27:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/378079#M276767</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-07-21T11:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: XMLv2 accent - encoding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/378274#M276768</link>
      <description>&lt;P&gt;Hello everyone:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I add manually&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="xis-code"&gt;&amp;lt;?xml version="1.0" encoding="iso-8859-1" ?&amp;gt;&lt;/PRE&gt;&lt;P&gt;to the out file of proc soap, and work very well. ¿proc soap can add this automatically?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 18:47:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/378274#M276768</guid>
      <dc:creator>nigromx</dc:creator>
      <dc:date>2017-07-21T18:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: XMLv2 accent - encoding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/378276#M276769</link>
      <description>&lt;P&gt;Hello everyone:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can resolve the problem with this lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc soap in=&amp;lt;filein&amp;gt; out=&amp;lt;fileout&amp;gt; url=&amp;lt;url&amp;gt; soapaction=&amp;lt;soapaction&amp;gt; &lt;EM&gt;&lt;STRONG&gt;envelope;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;envelop is an option of proc soap that store complete soap result in the outputfile, fileout in this case. The complete result include&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="xis-code"&gt;&amp;lt;?xml version="1.0" encoding="iso-8859-1" ?&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 19:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XMLv2-accent-encoding/m-p/378276#M276769</guid>
      <dc:creator>nigromx</dc:creator>
      <dc:date>2017-07-21T19:19:32Z</dc:date>
    </item>
  </channel>
</rss>

