3
* The XML Encoder header file
11
* Copyright (c) Ericsson, IBM, Lotus, Matsushita Communication
12
* Industrial Co., Ltd., Motorola, Nokia, Openwave Systems, Inc.,
13
* Palm, Inc., Psion, Starfish Software, Symbian, Ltd. (2001).
14
* All Rights Reserved.
15
* Implementation of all or part of any Specification may require
16
* licenses under third party intellectual property rights,
17
* including without limitation, patent rights (such a third party
18
* may or may not be a Supporter). The Sponsors of the Specification
19
* are not responsible and shall not be held responsible in any
20
* manner for identifying or failing to identify any or all such
21
* third party intellectual property rights.
23
* THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED
24
* ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, IBM,
25
* LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO. LTD, MOTOROLA,
26
* NOKIA, PALM INC., PSION, STARFISH SOFTWARE AND ALL OTHER SYNCML
27
* SPONSORS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
28
* BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
29
* HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
30
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
31
* SHALL ERICSSON, IBM, LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO.,
32
* LTD, MOTOROLA, NOKIA, PALM INC., PSION, STARFISH SOFTWARE OR ANY
33
* OTHER SYNCML SPONSOR BE LIABLE TO ANY PARTY FOR ANY LOSS OF
34
* PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF
35
* BUSINESS, OR FOR DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL,
36
* PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH
37
* THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED
38
* OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
40
* The above notice and this paragraph must be included on all copies
41
* of this document that are made.
45
/*************************************************************************/
47
/*************************************************************************/
49
#ifndef _XLT_ENC_XML_H
50
#define _XLT_ENC_XML_H
54
#include "xltenccom.h"
56
/** byte for XML tag begin parentheses */
57
#define XML_BEGPAR '<'
59
/** byte for XML tag end parentheses */
60
#define XML_ENDPAR '>'
62
/** byte for XML tag del */
63
#define XML_TAGDEL '/'
66
#define XML_VERSION "1.0"
69
#define XML_ENCODING "UTF-8"
71
/** XML namespaceattribute */
72
#define XML_NSSTART " xmlns='"
79
Ret_t xmlGenerateTag(XltTagID_t tagId, XltTagType_t tagType, BufferMgmtPtr_t pBufMgr, SmlPcdataExtension_t attFlag);