Skip navigation.
Home
The QNX Community Portal

View topic - using XML

using XML

Isn't the name clear?

using XML

Postby madhav.agarwal » Fri Aug 07, 2009 7:56 am

How can we link XML file to PhAB to show the XML file tree structure?
madhav.agarwal
Active Member
 
Posts: 23
Joined: Wed Jul 15, 2009 4:52 am

RE: using XML

Postby micro » Fri Aug 07, 2009 10:39 am

explain further please.

Linking is actually the process a app gets told where to find the function referenced in the source. So linking is generally done with libraries :P

Do you want to import the XML file or present its contents in a window in your app?
micro
Senior Member
 
Posts: 458
Joined: Thu Jul 22, 2004 8:41 pm

RE: using XML

Postby mario » Fri Aug 07, 2009 11:37 am

Photon has no support for XML. You have to write your own code.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

RE: using XML

Postby madhav.agarwal » Fri Aug 07, 2009 1:47 pm

Yes i actually meant :

I want to import the XML file or present its contents in a window in my app?

How is it possible....

can i access data files like XML using photon?
madhav.agarwal
Active Member
 
Posts: 23
Joined: Wed Jul 15, 2009 4:52 am

RE: using XML

Postby mario » Fri Aug 07, 2009 2:05 pm

Photon has no support for XML. You have to write your own code. Neutrino 6 comes with expat library which can help you read XML files. Then you have to create photon code ( based on PtTree maybe ) to display the data.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 1 guest