Re: Parsing XML
| From: | Andrew Ballard | Date: | Fri, 28 Nov 2008 15:26:34 +0000 |
| Subject: | Re: Parsing XML | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-283903@lists.php.net to get a copy of this message | ||
On Fri, Nov 28, 2008 at 5:45 AM, Ashley Sheridan
<ash@ashleysheridan.co.uk> wrote:
> On Fri, 2008-11-28 at 10:15 +0100, Per Jessen wrote:
>> Ashley Sheridan wrote:
>>
>> > Do any of you have a copy of this extension, or failing that, a
>> > suggestion of how I can parse XML files without having to install
>> > anything on the remote server, as I do not have that level off access
>> > to it.
>>
>> Parsing XML is best done with XSL - if that's out of the question,
>> you're in for a difficult time.
>>
>>
>> /Per Jessen, Zürich
>>
>>
> XSL will only allow me to convert it into a different document format,
> which is not what I want as I need to keep a local copy of information
> in a database for searching and sorting purposes. Nathans class allows
> me to have the entire document put into an array tree, which is fine for
> what I need so far.
>
>
> Ash
> www.ashleysheridan.co.uk
A bit over the top, but you could always use XSL to turn it into CSV. LOL
Andrew