w2c_xslt_utils.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016   
00017 #ifndef W2C_XSLT_UTILS_H
00018 #define W2C_XSLT_UTILS_H
00019 
00025 #include <stdio.h>
00026 #include <axis2_stream.h>
00027 #include <axis2_utils.h>
00028 #include <axiom.h>
00029 
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034 
00048 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00049 w2c_xslt_utils_add_attribute(
00050     const axis2_env_t *env,
00051     axiom_node_t *om_node,
00052     axis2_char_t *attribute,
00053     axis2_char_t *attrib_value);
00054 
00062 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00063 w2c_xslt_utils_add_child_node(
00064     const axis2_env_t *env,
00065     axis2_char_t *element_name,
00066     axiom_node_t *parent_node);
00067 
00074 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00075 w2c_xslt_utils_serialize(
00076         const axis2_env_t *env,
00077         axiom_node_t *root);
00078 
00086 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00087 w2c_xslt_utils_add_text(
00088     const axis2_env_t *env,
00089     axiom_node_t *node,
00090     axis2_char_t *text);
00091 
00099 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00100     w2c_xslt_utils_copy_node_tree(
00101     const axis2_env_t *env,
00102     axiom_node_t *to,
00103     axiom_node_t *from );
00104 
00105 
00108 #ifdef __cplusplus
00109 }
00110 #endif
00111 
00112 #endif /* W2C_XSLT_UTILS_H */

Generated on Thu Oct 26 21:11:24 2006 for Axis2/C by  doxygen 1.4.7