Re: [PHP] Parsing specific portions of XML files

2003-10-28 Thread Marek Kilimajer
See if xslt will help you. Ryan Thompson wrote: I'm stumped. I think it's just the logic I can't figure out. I have a file formatted for Docbook in XML. I'm trying to figure out a way to parse a specifice portion of an itemizedlist. It's for a change log. I want users to be able to view

Re: [PHP] Parsing specific portions of XML files

2003-10-28 Thread Raditha Dissanayake
Hi, You cannot parse a specific section only, the parser will go through the whole document. What you can do is to skip the section that does not interest you. I have seen two good suggestions that both smell of DOM (xslt has dom under the hood). With SAX you can just have a simple string

[PHP] Parsing specific portions of XML files

2003-10-27 Thread Ryan Thompson
I'm stumped. I think it's just the logic I can't figure out. I have a file formatted for Docbook in XML. I'm trying to figure out a way to parse a specifice portion of an itemizedlist. It's for a change log. I want users to be able to view changes made to just one version and possibly for all.