xml/xmlfw/group/xml.iby
changeset 0 e35f40988205
equal deleted inserted replaced
-1:000000000000 0:e35f40988205
       
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This file contains the xml iby files (framework and parsers) to be built as part of the xml component in the ROM.
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __XML_IBY__
       
    19 #define __XML_IBY__
       
    20 
       
    21 // xml framework
       
    22 #include "xmlframework.iby"
       
    23 
       
    24 // xml parser
       
    25 #include "xmlparserplugin.iby"
       
    26 // wbxml parser
       
    27 #include "wbxmlparser.iby"
       
    28 
       
    29 //Libxml2 feature entry
       
    30 #ifdef SYMBIAN_EXCLUDE_LIBXML2
       
    31 
       
    32 //If either SAX Plugin or DOM/XPath are included, Libxml2 must be too
       
    33 #if !defined(SYMBIAN_EXCLUDE_LIBXML2_SAX_CPARSER_PLUGIN) || !defined(SYMBIAN_EXCLUDE_LIBXML2_DOM_XPATH_API)
       
    34 #error Libxml2 feature cannot be excluded if Libxml2SAXParser or Libxml2DOMXPathAPI is included.
       
    35 #endif
       
    36 
       
    37 EXCLUDE_FEATURE Libxml2
       
    38 #else
       
    39 FEATURE Libxml2
       
    40 #include <xmlengine.iby>
       
    41 #endif
       
    42 
       
    43 //Libxml2 SAX Parser feature entry
       
    44 #ifdef SYMBIAN_EXCLUDE_LIBXML2_SAX_CPARSER_PLUGIN
       
    45 EXCLUDE_FEATURE Libxml2SAXParser
       
    46 #else
       
    47 FEATURE Libxml2SAXParser
       
    48 // IBYs for SAX
       
    49 // This iby includes libxml2.iby & xmlengineutils.iby
       
    50 #include <xmlenginesaxplugin.iby>
       
    51 #endif
       
    52 
       
    53 //Libxml2 DOM Parser feature entry
       
    54 #ifdef SYMBIAN_EXCLUDE_LIBXML2_DOM_XPATH_API
       
    55 EXCLUDE_FEATURE Libxml2DOMXPathAPI
       
    56 #else
       
    57 FEATURE Libxml2DOMXPathAPI
       
    58 // IBYs for DOM
       
    59 #include <multipartparser.iby>
       
    60 // This iby includes libxml2.iby , xmlengineutils.iby & xmlenginedom.iby
       
    61 #include <xmlengineserializer.iby>
       
    62 #endif
       
    63 
       
    64 #endif