dbertoni    01/07/08 12:16:57

  Modified:    c/src/TestXSLT process.cpp
  Log:
  Removed calls to obsolete functions.
  
  Revision  Changes    Path
  1.68      +4 -22     xml-xalan/c/src/TestXSLT/process.cpp
  
  Index: process.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/TestXSLT/process.cpp,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- process.cpp       2001/06/29 22:50:10     1.67
  +++ process.cpp       2001/07/08 19:16:57     1.68
  @@ -208,12 +208,11 @@
                 << endl
                 << " [-Q (Use quiet mode.)]"
                 << endl
  -              << " [-ESCAPE (Specifies which characters to escape. {default 
is <>&\"\'\\r\\n}]"
  -              << endl
                 << " [-INDENT n (Controls how many spaces to indent. {default 
is 0})]"
                 << endl
                 << " [-VALIDATE (Controls whether validation occurs. 
Validation is off by default.)]"
                 << endl
  +              << endl
                 << " [-TT (Trace the templates as they are being called.)]"
                 << endl
                 << " [-TG (Trace each generation event.)]"
  @@ -222,6 +221,7 @@
                 << endl
                 << " [-TTC (Trace the template children as they are being 
processed.)]"
                 << endl
  +              << endl
                 << " [-XML (Use XML formatter and add XML header.)]"
                 << endl
                 << " [-TEXT (Use simple Text formatter.)]"
  @@ -232,8 +232,10 @@
                 << endl
                 << " [-XST (Use source tree formatter.  Formats to Xalan 
source tree, then formats XML for output.)]"
                 << endl
  +              << endl
                 << " [-PARAM name expression (Sets a stylesheet parameter.)]"
                 << endl
  +              << endl
                 << " [-XD Use Xerces DOM instead of Xalan source tree.]"
                 << endl
                 << endl
  @@ -290,7 +292,6 @@
        int indentAmount;
        int outputType;
        const char* outFileName;
  -     const char* specialCharacters;
        const char* xslFileName;
        const char* inFileName;
   
  @@ -315,7 +316,6 @@
                indentAmount(-1),
                outputType(-1),
                outFileName(0),
  -             specialCharacters(0),
                xslFileName(0),
                inFileName(0)
        {
  @@ -431,19 +431,6 @@
                                fSuccess = false;
                        }
                }
  -             else if (!compareNoCase("-ESCAPE", argv[i]))
  -             {
  -                     ++i;
  -
  -                     if(i < argc && argv[i][0] != '-')
  -                     {
  -                             p.specialCharacters = argv[i];
  -                     }
  -                     else
  -                     {
  -                             fSuccess = false;
  -                     }
  -             }
                else if (!compareNoCase("-NOINDENT", argv[i]))
                {
                        p.noIndent = true;
  @@ -917,11 +904,6 @@
        if (params.indentAmount != 0)
        {
                xmlParserLiaison.setIndent(params.indentAmount);
  -     }
  -
  -     if (params.specialCharacters != 0)
  -     {
  -             
xmlParserLiaison.setSpecialCharacters(XalanDOMString(params.specialCharacters));
        }
   
        xmlParserLiaison.setUseValidation(params.doValidation);
  
  
  

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

Reply via email to