Re: send dataset as a parameter

From: D.W. Warlock (no.spam_at_no.spam.org)
Date: 02/26/05


Date: Fri, 25 Feb 2005 17:03:54 -0800


Scott M. wrote:
> You can absolutely pass text (in whatever form you like: plain text, html,
> xml, etc.). But if you pass XML as a parameter to a SP, then you find
> yourself in the same boat as if you passed a DataSet in terms of dealing
> with the XML. Will the DB know what XPath is?

Yes, SQL Server 2000/2005 (also MSDE) can utilize both XPath and XML. I
believe that Oracle 9i and up can also handle XPath/XML. Other RDBMSs
that can: FireBird (1.3x and above), MySql(limited support in the 4.x.x
versions).

>
> Can you do XPath queries on a DB?
>
>
> "Wilco Bauwer" <wilcob@gmail.com> wrote in message
> news:1109368785.577054.73100@f14g2000cwb.googlegroups.com...
>
>>If you insist, you could have a text parameter in your stored
>>procedure. You could pass the xml as text, and in the SP use OPENXML to
>>intepret the text as xml. At that point, you can do xpath queries, etc.
>>
>
>
>



Relevant Pages

  • Re: New Empire Web Page
    ... HTML and XML are the present. ... I suggest we unload ourselves of 1970's utilities and move to HTML or failing that to plain old ascii. ... Old school data, ...
    (rec.games.empire)
  • ANN: XMLMax Beta Adds Indexing For Faster Xpath Query
    ... Xponent is pleased to announce Beta version 2.0.6 of its XMLMax ... Virtual XML Editor. ... Xpath queries are limited to forward-looking xpath expressions. ...
    (microsoft.public.dotnet.general)
  • ANN: XMLMax Beta Adds Indexing For Faster Xpath Query
    ... Xponent is pleased to announce Beta version 2.0.6 of its XMLMax ... Virtual XML Editor. ... Xpath queries are limited to forward-looking xpath expressions. ...
    (microsoft.public.dotnet.framework.aspnet)
  • ANN: XMLMax Beta Adds Indexing For Faster Xpath Query
    ... Xponent is pleased to announce Beta version 2.0.6 of its XMLMax ... Virtual XML Editor. ... Xpath queries are limited to forward-looking xpath expressions. ...
    (microsoft.public.sqlserver.xml)
  • Re: Restructure XML
    ... XML documents more generically in our processes. ... reformat our customers XML into a generic form to simply our processes. ... It is a COM sample, not .NET, but the XPath queries are still applicable. ... them into a collection node if there are more than one at the same level ...
    (microsoft.public.dotnet.xml)