Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Text Editing&Processing > Markup

    PHP AnyXML 0.1.1

    Download button

    No screenshots available
    Downloads: 379  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.8/5)
    17 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Daniele C. | More programs
    LGPL / FREE
    July 11th, 2007, 21:35 GMT
    ROOT / Text Editing&Processing / Markup

     Read user reviews (0)  Refer to a friend  Subscribe

    PHP AnyXML description

    PHP AnyXML is an XML read-only class which offers PHP5 SimpleXML's capabilities on ANY host.

    PHP AnyXML is an XML read-only class which offers PHP5 SimpleXML's capabilities on ANY host, even if PHP4 and/or without the expat extension.

    AnyXML project will always choose the best available library to offer its functionality. Your solution to PHP+XML messes.

    AnyXML API documentation

    When loading an XML file the first XML tag becomes the root node. An XML file should contain only one parent tag.
    Please note that AnyXML offers a read-only layer and no write facility. All child nodes (with the same name) are grouped into arrays.

    AnyXML API defines:

    * getAllChildren()
    returns all the child nodes of the AnyXML object

    * getValue()
    returns the text value of the AnyXML object; this is the text contained in the tag
    or that gathered from its child nodes

    * getName()
    returns the tag name of the current AnyXML object

    * getElementByPath($path)
    returns an AnyXML object from the specified $path
    if the path was not valid, null is returned
    if there is more than one element in that path, an array is returned

    * getValueByPath()
    same as ::getElementByPath($path)->getValue()

    * attributes($attr = null)
    returns attribute $attr or the full list of attributes if $attr is not specified

    * map($callback, $args = array())
    maps a callback function to all children

    Product's homepage

      


    TAGS:

    XML class | XML parser | markup library | PHP | AnyXML | XML

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM