Update XML files using XML query language?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jim Cheng

    #1

    Update XML files using XML query language?

    Could I use the XML query language (and with appropriate XML query engine)
    to update XML files?

    I am pretty sure about querying, but not about updating.

    Thanks!

    Jim


  • Sebastian Schaffert

    #2
    Re: Update XML files using XML query language?

    Jim Cheng wrote:
    [color=blue]
    > Could I use the XML query language (and with appropriate XML query engine)
    > to update XML files?[/color]

    No, currently you can't use it as a "real" update language with insertions
    and similar. You can however query the source document, alter it through
    transformations/queries and write the result to the original file. That is
    probably not as efficient as updating should be.:-)

    --
    Sebastian

    PGP Key fingerprint =
    13 1D 2E 4F 20 3E C9 1F 4C 57 52 87 8A 80 48 4D F5 E9 97 EC

    Comment

    • Jim Cheng

      #3
      Re: Update XML files using XML query language?

      Thanks for your comments.
      Do you know where I could find more information about altering querying
      expressions to achieve the updating function?

      Thank you!

      Jim

      "Sebastian Schaffert" <wastl@wastl.ne t> wrote in message
      news:bg438m$ui8 $2@minotaurus.c ip.informatik.u ni-muenchen.de...[color=blue]
      > Jim Cheng wrote:
      >[color=green]
      > > Could I use the XML query language (and with appropriate XML query[/color][/color]
      engine)[color=blue][color=green]
      > > to update XML files?[/color]
      >
      > No, currently you can't use it as a "real" update language with insertions
      > and similar. You can however query the source document, alter it through
      > transformations/queries and write the result to the original file. That is
      > probably not as efficient as updating should be.:-)
      >
      > --
      > Sebastian
      >
      > PGP Key fingerprint =
      > 13 1D 2E 4F 20 3E C9 1F 4C 57 52 87 8A 80 48 4D F5 E9 97 EC
      >[/color]


      Comment

      Working...