diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/xmlexample_8cpp.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/xmlexample_8cpp.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,159 @@ + + +TB10.1 Example Applications: examples/SysLibs/XmlExample/xmlexample.cpp File Reference + + + + +

examples/SysLibs/XmlExample/xmlexample.cpp File Reference

+

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Namespaces

namespace  Xml

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

+ +
+
+ + + + + + + + +
LOCAL_C void MainL (  ) 
+
+
+ +

+Much simpler MainL(), uses the new Rendezvous() call to sync with the client

+Secure variant Much simpler, uses the new Rendezvous() call to sync with the client +

Definition at line 449 of file xmlexample.cpp.

+ +
+

+ +

+
+ + + + + + + + +
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

+The E32main function is the main entry point for the code.

+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 entry point function. +

Definition at line 459 of file xmlexample.cpp.

+ +
+

+


Generated on Thu Jan 21 10:33:02 2010 for TB10.1 Example Applications by  + +doxygen 1.5.3
+ +