The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
hey.
the xml file name is: list.xml which is on http://domain/path/list.xml its code is: Code:
<note> <to> Tove </to> <from> Jani </from> <heading> Reminder </heading> <body> Don't forget me this weekend! </body> </note> so it will be like this: value of $heading will be 'Reminder' any tutorial for me? plz help me |
#2
|
|||
|
|||
![]()
Well, if you want to do it in PHP, you could look at this: http://www.w3schools.com/php/php_xml_parser_expat.asp
If you want to do it in vB, you could use the class in includes/class_xml.php, and look at one of the files that uses it for an example, such as includes/adminfunctions_help.php. That class parses xml in to an array. I made this test file which I put in my forum directory (and I put your xml in a file called "test.xml" in the same directory): PHP Code:
The output is: Code:
$heading = ' Reminder ' Hope this helps. |
#3
|
|||
|
|||
![]()
thank you very much
![]() just what i was looking for.. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|