dbertoni    2003/03/17 18:40:19

  Modified:    c/src/XSLT XSLTResultTarget.hpp
  Log:
  New setEncoding() overload.
  
  Revision  Changes    Path
  1.23      +18 -0     xml-xalan/c/src/XSLT/XSLTResultTarget.hpp
  
  Index: XSLTResultTarget.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTResultTarget.hpp,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- XSLTResultTarget.hpp      12 Feb 2003 22:41:27 -0000      1.22
  +++ XSLTResultTarget.hpp      18 Mar 2003 02:40:19 -0000      1.23
  @@ -221,6 +221,24 @@
         * @param encoding new encoding string
         */
        void
  +     setEncoding(const XalanDOMChar*         encoding)
  +     {
  +             if (encoding == 0)
  +             {
  +                     m_encoding.clear();
  +             }
  +             else
  +             {
  +                     m_encoding = encoding;
  +             }
  +     }
  +
  +     /** 
  +      * Set the character encoding, if known.
  +      *
  +      * @param encoding new encoding string
  +      */
  +     void
        setEncoding(const XalanDOMString&       encoding)
        {
                m_encoding = encoding;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to