BltInFunc-XMLDECODE.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  4. <sect1 id="XMLDECODE">
  5. <title>XMLDECODE</title>
  6. <para><emphasis role="bold">XMLDECODE<indexterm>
  7. <primary>XMLDECODE</primary>
  8. </indexterm><indexterm>
  9. <primary>XMLDECODE Function</primary>
  10. </indexterm>(</emphasis><emphasis> unicode </emphasis><emphasis
  11. role="bold">)</emphasis></para>
  12. <para><informaltable colsep="1" frame="all" rowsep="1">
  13. <tgroup cols="2">
  14. <colspec colwidth="77.05pt" />
  15. <colspec colwidth="275.75pt" />
  16. <tbody>
  17. <row>
  18. <entry><emphasis>unicode</emphasis></entry>
  19. <entry>The unicode text to decode.</entry>
  20. </row>
  21. <row>
  22. <entry>Return:</entry>
  23. <entry>XMLDECODE returns a single value.</entry>
  24. </row>
  25. </tbody>
  26. </tgroup>
  27. </informaltable></para>
  28. <para>The <emphasis role="bold">XMLDECODE</emphasis> function decodes
  29. special characters into an XML string (for example, &amp;lt is converted to
  30. &lt;) allowing you to use the CSV option on OUTPUT to produce more complex
  31. XML files than are possible by using the XML option.</para>
  32. <para>Example:</para>
  33. <programlisting> d := XMLENCODE('&lt;xml version 1&gt;&lt;tag&gt;data&lt;/tag&gt;');
  34. e := XMLDECODE(d);</programlisting>
  35. <para>See Also: <link linkend="XMLENCODE">XMLENCODE</link></para>
  36. </sect1>