1 /*
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
3 */
4 /*
5 * Copyright 1999-2004 The Apache Software Foundation.
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19 /*
20 * $Id: ExsltStrings.java,v 1.1.2.1 2005/08/01 02:08:48 jeffsuttor Exp $
21 */
22 package com.sun.org.apache.xalan.internal.lib;
23
24 import java.util.StringTokenizer;
25 import com.sun.org.apache.xpath.internal.NodeSet;
26 import jdk.xml.internal.JdkXmlUtils;
27
28 import org.w3c.dom.Document;
29 import org.w3c.dom.Element;
30 import org.w3c.dom.Node;
31 import org.w3c.dom.NodeList;
32 import org.w3c.dom.Text;
33
34 /**
35 * This class contains EXSLT strings extension functions.
36 *
37 * It is accessed by specifying a namespace URI as follows:
38 * <pre>
39 * xmlns:str="http://exslt.org/strings"
40 * </pre>
41 * The documentation for each function has been copied from the relevant
|
1 /*
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
3 */
4 /*
5 * Licensed to the Apache Software Foundation (ASF) under one or more
6 * contributor license agreements. See the NOTICE file distributed with
7 * this work for additional information regarding copyright ownership.
8 * The ASF licenses this file to You under the Apache License, Version 2.0
9 * (the "License"); you may not use this file except in compliance with
10 * the License. You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20
21 package com.sun.org.apache.xalan.internal.lib;
22
23 import java.util.StringTokenizer;
24 import com.sun.org.apache.xpath.internal.NodeSet;
25 import jdk.xml.internal.JdkXmlUtils;
26
27 import org.w3c.dom.Document;
28 import org.w3c.dom.Element;
29 import org.w3c.dom.Node;
30 import org.w3c.dom.NodeList;
31 import org.w3c.dom.Text;
32
33 /**
34 * This class contains EXSLT strings extension functions.
35 *
36 * It is accessed by specifying a namespace URI as follows:
37 * <pre>
38 * xmlns:str="http://exslt.org/strings"
39 * </pre>
40 * The documentation for each function has been copied from the relevant
|