How to modify my Response.Document XSD for getting author name form Sharepoint
Posted
by Rohan Patil
on Stack Overflow
See other posts from Stack Overflow
or by Rohan Patil
Published on 2010-05-18T09:19:50Z
Indexed on
2010/05/18
9:20 UTC
Read the original article
Hit count: 306
java
|sharepoint
Hi, This is my XSD currently
<?xml version="1.0" encoding="Windows-1252"?>
<xsd:schema xmlns:tns="urn:Microsoft.Search.Response.Document" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="urn:Microsoft.Search.Response.Document" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="urn:Microsoft.Search.Response.Document.Document" schemaLocation="Microsoft.Search.Response.Document.Document.xsd" />
<xsd:annotation>
<xsd:documentation>
</xsd:documentation>
<xsd:documentation>
Defines a Query Respnose from a Windows
SharePoint Services 3.0 Query Service.
</xsd:documentation>
</xsd:annotation>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Root Element: Document -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - -->
<xsd:element name="Document">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Title" type="xsd:string" minOccurs="0" />
<xsd:element name="Action">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="LinkUrl">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="size" type="xsd:unsignedByte" use="optional" />
<xsd:attribute name="fileExt" type="xsd:string" use="required" />
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Description" type="xsd:string" minOccurs="0" />
<xsd:element name="Date" type="xsd:dateTime" minOccurs="0" />
<xsd:element xmlns:q1="urn:Microsoft.Search.Response.Document.Document" ref="q1:Properties" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="relevance" type="xsd:unsignedByte" use="optional" />
</xsd:complexType>
</xsd:element>
</xsd:schema>
I want to able to get the author name.. Please help..
© Stack Overflow or respective owner