Wddx may also be an option.  That would allow you to serialize the xml
into php variables so that you could use them in your example.  But if
your provider won't compile xml in, I doubt you'll be able to get wddx.

Shaun

On Wed, 14 Feb 2001, Stefen Lars wrote:

> Hello all
> 
> I have recently been assigned the task of parsing an xml file and format the 
> contents of the file in HTML. The xml file lies on another server. Our web 
> space provider does not provide the XML functions (nor is he willing to 
> install them) :-gr.
> 
> I am sure that I am not the only who has come across this problem.
> 
> Would someone have already created a few functions to parse xml that they 
> are willing to share?
> 
> I have the following structure to deal with:
> 
> <faq>
>   <item>
>     <product>ProductName</product>
>     <question>Why does it not work</question>
>     <answer>Because it is not turned on<answer>
>   <item>
> </faq>
> 
> There are whole load of <item>s in the file.
> 
> I then want to display the contents a bit like this:
> 
> echo $product;
> echo $question;
> 
> etc (of course with some HTML formatting, like a bulleted list).
> 
> Any help would be really VERY appreciated!
> 
> Thanks
> 
> S
> 
> 
> 
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> 
> 

-- 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to