examples/SysLibs/XmlExample/xmlexample.cpp File Reference

Go to the source code of this file.

Functions

 _LIT (KTitle,"XML example")
 _LIT (KStartKey,"\nThe example parses the given XML and WBXML files. Press any key to start\n")
 _LIT (KPressAKey,"\nPress any key to continue \n")
 _LIT (KExit,"\n Press any key to exit the application \n")
 _LIT (KParsingXml,"\nParsing the XML file")
 _LIT (KParsingWbXml,"\nParsing the WBXML file")
 _LIT (KParsingMatch,"\nParsing the XML file using match data criteria")
 _LIT (KError,"\n Could not open the XML file. Please check if the file exists.")
 _LIT (KOnStartDoc,"\n<!-- CXmlExample::OnStartDocumentL -->\n")
 _LIT (KOnEndDoc,"\n<!-- CXmlExample::OnEndDocumentL -->\n")
 _LIT (KOnContent,"<!-- CXmlExample::OnContentL -->")
 _LIT (KOnProcInstrn,"\n<!-- CXmlExample::OnProcessingInstructionL -->\n")
 _LIT (KOnError,"CXmlExample::OnError - ERROR: code=%d\n")
 _LIT (KVersion,"<?xml version=\"1.0\" encoding=\"%S\"?>\n")
 _LIT (KStartElement,"\nStart of element: <%S>\n")
 _LIT (KEndElement,"\nEnd of element: </%S>\n")
 _LIT (KContent,"%S\n")
 _LIT (KAttrib,"The attribute of element <%S>=\"%S\"")
 _LIT (KProcInstrn,"<?%S %S?>\n")
 _LIT (KOnSkipped,"Found skipped entity %S")
 _LIT (KNameSpaceRep,"\nNamespace mapping reporting enabled\n ")
 _LIT (KPrefixMap,"\nThe prefix is %S and URI is %S\n")
 _LIT (KPrefixEnd,"End of prefix URI mapping %S\n")
 _LIT (KSimpleXmlFile,"z:\\private\\E80000AE\\xmlexample.xml")
 _LIT (KSimpleWbXmlFile,"z:\\private\\E80000AE\\xmlexample.wbxml")
 _LIT8 (KXmlMimeType,"text/xml")
 _LIT8 (KWbxmlMimeType,"text/wbxml")
LOCAL_C void MainL ()
GLDEF_C TInt E32Main ()

Detailed Description

Definition in file xmlexample.cpp.


Function Documentation

GLDEF_C TInt E32Main (  ) 

Returns standard error code on exit

Secure variant only Process entry point. Called by client using RProcess API

Returns:
Standard Epoc error code on process exit
Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API

Entry point for the example

A normal Symbian OS executable provides an E32Main() function which is called by the operating system to start the program.

The below section is added to make the code compatible with v9.1 This is because only exe files are compatible with v9.1

Standard entrypoint function for UI applications.

Returns:
Return code from EikStart::RunApplication.

Definition at line 459 of file xmlexample.cpp.


Generated by  doxygen 1.6.2