XML Write

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pitaridis Aristotelis

    XML Write

    Can someone give me an example of reading, modifing and writing an XML
    file???


  • Andy Hassall

    #2
    Re: XML Write

    On Fri, 15 Apr 2005 20:58:28 +0300, "Pitaridis Aristotelis"
    <pitaridis@hotm ail.com> wrote:
    [color=blue]
    >Can someone give me an example of reading, modifing and writing an XML
    >file???[/color]

    The manual has examples.

    The filesystem functions, e.g fopen, fread can read an XML file. fwrite can
    write XML files. Presumably you want to read and _parse_ the file.

    In which case there's various options depending on the version you're on.
    Search for XML on http://php.net for functions and examples.

    --
    Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
    <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

    Comment

    • Pitaridis Aristotelis

      #3
      Re: XML Write

      I do not want to read and write like opening a file. In VB.NET, I can open
      the file like a database, and access the data using SQL commands. Can I do
      the same in PHP?

      "Andy Hassall" <andy@andyh.co. uk> wrote in message
      news:j2c061lsvd 40ki2djo78atbdv gm9s025mo@4ax.c om...[color=blue]
      >
      > On Fri, 15 Apr 2005 20:58:28 +0300, "Pitaridis Aristotelis"
      > <pitaridis@hotm ail.com> wrote:
      >[color=green]
      > >Can someone give me an example of reading, modifing and writing an XML
      > >file???[/color]
      >
      > The manual has examples.
      >
      > The filesystem functions, e.g fopen, fread can read an XML file. fwrite[/color]
      can[color=blue]
      > write XML files. Presumably you want to read and _parse_ the file.
      >
      > In which case there's various options depending on the version you're on.
      > Search for XML on http://php.net for functions and examples.
      >
      > --
      > Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
      > <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool[/color]


      Comment

      Working...