You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mk...@apache.org on 2005/06/21 19:35:01 UTC

cvs commit: xml-xalan/java/samples/XPathAPI ExtensionTest.java numlist.xml

mkwan       2005/06/21 10:35:01

  Added:       java/samples/XPathAPI ExtensionTest.java numlist.xml
  Log:
  xml and extension java source for the ExtensionFunctionResolver sample.
  
  Revision  Changes    Path
  1.1                  xml-xalan/java/samples/XPathAPI/ExtensionTest.java
  
  Index: ExtensionTest.java
  ===================================================================
  /*
   * Copyright 2001-2004 The Apache Software Foundation.
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  public class ExtensionTest
  {
      public static String test(String name)
      {
          return "Hello " + name + "!";
      }
  }
  
  
  1.1                  xml-xalan/java/samples/XPathAPI/numlist.xml
  
  Index: numlist.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <num>2</num>
    <num>4</num>
    <num>6</num>
  </doc>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org