123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
- <sect1 id="XMLDECODE">
- <title>XMLDECODE</title>
- <para><emphasis role="bold">XMLDECODE<indexterm>
- <primary>XMLDECODE</primary>
- </indexterm><indexterm>
- <primary>XMLDECODE Function</primary>
- </indexterm>(</emphasis><emphasis> unicode </emphasis><emphasis
- role="bold">)</emphasis></para>
- <para><informaltable colsep="1" frame="all" rowsep="1">
- <tgroup cols="2">
- <colspec colwidth="77.05pt" />
- <colspec colwidth="275.75pt" />
- <tbody>
- <row>
- <entry><emphasis>unicode</emphasis></entry>
- <entry>The unicode text to decode.</entry>
- </row>
- <row>
- <entry>Return:</entry>
- <entry>XMLDECODE returns a single value.</entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable></para>
- <para>The <emphasis role="bold">XMLDECODE</emphasis> function decodes
- special characters into an XML string (for example, &lt is converted to
- <) allowing you to use the CSV option on OUTPUT to produce more complex
- XML files than are possible by using the XML option.</para>
- <para>Example:</para>
- <programlisting> d := XMLENCODE('<xml version 1><tag>data</tag>');
- e := XMLDECODE(d);</programlisting>
- <para>See Also: <link linkend="XMLENCODE">XMLENCODE</link></para>
- </sect1>
|