Re: XML parser




Joshua Morgan wrote:
Hey all,

I want to create my own XML parser that is completely independent of
PHP version (i want it to run on both PHP 4 and 5), and to also not
require any dependencies (so that the user DOESN'T have to compile php
with --with-xml).

Can someone point me in the right direction as to how I can go about
this?

Thanks,

Joshua Morgan

Are you parsing XML files of a particular schema or you want a general
XML parser? For the former purpose, I have often found it quite easy to
extract the necessary info using regular expressions.

.



Relevant Pages

  • Re: best xml parser for php?
    ... I need to use some Ajax for a site running PHP, ... There are a couple XML parsers you can use with PHP. ... You load an XML file and ... Another approach is the XML parser functions. ...
    (comp.lang.php)
  • Re: [PHP] I cant make read_tag.php file
    ... > The error is that if i load this, ... Do you mean that all the other tags return the proper content ... XML as your data format and an xml parser to obtain the values in ... <?php echo $bttags; ?> ...
    (php.general)
  • Get &euro; past a XML parser
    ... I'm having troubles getting the euro sign through an XML parser. ... With the following test code: ...
    (comp.lang.php)
  • Re: dumping xml and xsl for PHP and MySQL
    ... was interested in using PHP and MySQL for performance reasons. ... is that using the XML parser would not provide the benefit I'm looking ... org.apache.xalan.xslt.extensions.Redirect xml extension. ... an HTML file rather than just serving the .php via the server? ...
    (comp.lang.php)
  • XML parser
    ... Hey all, ... I want to create my own XML parser that is completely independent of ... PHP version, ... Joshua Morgan ...
    (comp.lang.php)