if you store it in a text column. However - it might give
>-----Original Message-----
>I have a SQL 2000 running on .net 2003 server
>
>for example i have the fallowing xml file as an image
col, properly
>indexed stec...
>
><?xml version="1.0" encoding="utf-8"?>
><SQLContentItemSerialization
>xmlns:xsd="
http://www.w3.org/2001/XMLSchema" >xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" >xmlns="Common.Libraries.ContentObjects.V3s">
> <MyAttributes>
> <Attributes>
>
<AttributeName>Author</AttributeName>
> <AttributeValue>
> <anyType
xsi:type="xsd:string">Jon</anyType>
> </AttributeValue>
> </Attributes>
> <Attributes>
>
<AttributeName>Subject</AttributeName>
> <AttributeValue>
> <anyType
xsi:type="xsd:string">Hello world</anyType>
> </AttributeValue>
> </Attributes>
> </MyAttributes>
></SQLContentItemSerialization>
>
>
>since the The microsoft XML iFilter will index
>* values of sub-elements of the root element when
> the sub elements have no child elements.
>* attributes of the root element and attributes of
>sub-elements of the root element
>
>Lets assume that i will later simplify the xml so it will
have only the
>level of elements, according to the Ifilter abilities.
>
>How do i query a specific sub-element or an attributes
>For example
>Select * from tablename where CONTAINS(columnname, Author
= " Jon "')
>Or
>Select * from tablename where Author = " Jon "'
>Or something similar
>
>In sharepoint and index server I first need to define the
property? Both
>use the same ifilter , so how can I do it via SQL server?
>
>
>
>*** Sent via Developersdex
http://www.developersdex.com ***
>Don't just participate in USENET...get rewarded for it!
>.