Jump to content

help...regarding php -xml


anoopK

Recommended Posts

hai seniors there,

  i 'm new to php and xml...

  i need to convert  a php class to an XML document and vice versa..i.e

    "to generate an xml document  containing all the members of a class that is passed..eg,,if one membeer of a class is  mr.x ,type name   

                                                        001 type  id 

then output xml doc must be          <name>mr.x</name>

                                                  <id>001</id>..

      and pass this xml back to the calling func..

  Also  to perform the reverse task also  ..ie generate a class from a php document..

    I tried a lot,could not..very much thnkful if anyone could help..

 

 

Link to comment
https://forums.phpfreaks.com/topic/92855-helpregarding-php-xml/
Share on other sites

dear sir,thanks for your response..

in fact,i m required to create an xml interface  for testing  purpose.

at one end different test  tools  like ccm tools are plugged in..to inorder to allow a generic form, i require an xml interface.

        plesae let me know different methods to effect the conversion.

 

 

 

Interesting question, i'd like to pose a question of my own. Why are you doing this? What do you wish to achieve? The reason I ask is that perhaps there's a better way of doing what you want without converting a PHP class to XML and vice versa.

Link to comment
https://forums.phpfreaks.com/topic/92855-helpregarding-php-xml/#findComment-475787
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.