Hi Theo,
I am not aware of any means of passing xml to
stored procedures, apart from writing your own function to parse the
xml.
In regard to your second question - how to
access the second record - try using a more explicit xpath query
incorporating a "where" component. For example, if you wanted to access
the second row based upon the value of cola, you could use
'//query/[EMAIL PROTECTED]'525887']/text()'. Or you could specify the position of
the record if you know its position: '//query/row[2]/text()'.
Microsoft has a very good reference on xpath
expressions: http://msdn.microsoft.com/library/default.asp?url="">.
Regards,
George
|
Title: Working with XML.
- Re: [SQL] Working with XML. George Weaver
- Re: [SQL] Working with XML. Theo Galanakis
- Re: [SQL] Working with XML. George Weaver
- Re: [SQL] Working with XML. George Weaver
- FW: [SQL] Working with XML. Theo Galanakis
- FW: [SQL] Working with XML. Theo Galanakis
- Re: [SQL] Working with XML. George Weaver
- Re: [SQL] FW: Working with XML. Mirko Zeibig
- Re: [SQL] Working with XML. George Weaver
- Re: [SQL] Working with XML. Theo Galanakis
- Re: [SQL] Working with XML. George Weaver