如何用Google APIs和Google的应用系统进行集成(6)----如何把Google Calendar的JSON Schema转换成XML的Schema(XSD)?

原创 2014年06月09日 23:14:20

有Google Task的地方,一般都会有Google Calendar,我在上个章节给大家分享了,如何用Google APIs和Google的应用系统进行集成(5)----如何把Google Tasks的JSON Schema转换成XML的Schema(XSD)?http://blog.csdn.net/chancein007/article/details/29645055),那么Google Calendar的JSON Schema转换成XML的Schema将会是什么样子的呢?首先我们先列出Google Calendar的JSON的Schema(https://www.googleapis.com/discovery/v1/apis/calendar/v3/rest

 

那么,如何把Google Calendar的JSON Schema转换成XML的XSD Schema?XML的Schema将会是什么样子的呢?请参考下面转换实现。

<?xml version='1.0' encoding='UTF-8'?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:complexType name="Acl">
        <xs:sequence>
            <xs:element name="etag" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="items" form="unqualified" type="AclRule" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="nextPageToken" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="nextSyncToken" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AclRule">
        <xs:sequence>
            <xs:element name="etag" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="id" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="role" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="scope" form="unqualified" type="scope" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Calendar">
        <xs:sequence>
            <xs:element name="description" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="etag" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="id" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="location" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="summary" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="timeZone" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CalendarList">
        <xs:sequence>
            <xs:element name="etag" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="items" form="unqualified" type="CalendarListEntry" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="nextPageToken" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="nextSyncToken" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CalendarListEntry">
        <xs:sequence>
            <xs:element name="accessRole" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="backgroundColor" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="colorId" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="defaultReminders" form="unqualified" type="EventReminder" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="deleted" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="description" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="etag" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="foregroundColor" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="hidden" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="id" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="location" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="notificationSettings" form="unqualified" type="notificationSettings" minOccurs="0"/>
            <xs:element name="primary" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="selected" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="summary" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="summaryOverride" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="timeZone" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CalendarNotification">
        <xs:sequence>
            <xs:element name="method" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="type" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Channel">
        <xs:sequence>
            <xs:element name="address" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="expiration" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="id" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="params" form="unqualified" type="params" minOccurs="0"/>
            <xs:element name="payload" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="resourceId" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="resourceUri" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="token" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="type" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ColorDefinition">
        <xs:sequence>
            <xs:element name="background" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="foreground" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Colors">
        <xs:sequence>
            <xs:element name="calendar" form="unqualified" type="calendar" minOccurs="0"/>
            <xs:element name="event" form="unqualified" type="event" minOccurs="0"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="updated" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Error">
        <xs:sequence>
            <xs:element name="domain" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="reason" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Event">
        <xs:sequence>
            <xs:element name="anyoneCanAddSelf" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="attendees" form="unqualified" type="EventAttendee" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="attendeesOmitted" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="colorId" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="created" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="creator" form="unqualified" type="creator" minOccurs="0"/>
            <xs:element name="description" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="end" form="unqualified" type="EventDateTime" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="endTimeUnspecified" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="etag" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="extendedProperties" form="unqualified" type="extendedProperties" minOccurs="0"/>
            <xs:element name="gadget" form="unqualified" type="gadget" minOccurs="0"/>
            <xs:element name="guestsCanInviteOthers" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="guestsCanModify" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="guestsCanSeeOtherGuests" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="hangoutLink" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="htmlLink" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="iCalUID" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="id" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="location" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="locked" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="organizer" form="unqualified" type="organizer" minOccurs="0"/>
            <xs:element name="originalStartTime" form="unqualified" type="EventDateTime" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="privateCopy" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="recurringEventId" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="reminders" form="unqualified" type="reminders" minOccurs="0"/>
            <xs:element name="sequence" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="source" form="unqualified" type="source" minOccurs="0"/>
            <xs:element name="start" form="unqualified" type="EventDateTime" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="status" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="summary" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="transparency" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="updated" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="visibility" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EventAttendee">
        <xs:sequence>
            <xs:element name="additionalGuests" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="comment" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="displayName" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="email" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="id" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="optional" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="organizer" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="resource" form="unqualified" type="xs:boolean" minOccurs="0"/>
            <xs:element name="responseStatus" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="self" form="unqualified" type="xs:boolean" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EventDateTime">
        <xs:sequence>
            <xs:element name="date" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="dateTime" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="timeZone" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EventReminder">
        <xs:sequence>
            <xs:element name="method" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="minutes" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Events">
        <xs:sequence>
            <xs:element name="accessRole" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="defaultReminders" form="unqualified" type="EventReminder" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="description" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="etag" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="items" form="unqualified" type="Event" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="nextPageToken" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="nextSyncToken" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="summary" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="timeZone" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="updated" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="FreeBusyCalendar">
        <xs:sequence>
            <xs:element name="busy" form="unqualified" type="TimePeriod" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="errors" form="unqualified" type="Error" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="FreeBusyGroup">
        <xs:sequence>
            <xs:element name="errors" form="unqualified" type="Error" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="FreeBusyRequest">
        <xs:sequence>
            <xs:element name="calendarExpansionMax" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="groupExpansionMax" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="items" form="unqualified" type="FreeBusyRequestItem" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="timeMax" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="timeMin" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="timeZone" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="FreeBusyRequestItem">
        <xs:sequence>
            <xs:element name="id" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="FreeBusyResponse">
        <xs:sequence>
            <xs:element name="calendars" form="unqualified" type="calendars" minOccurs="0"/>
            <xs:element name="groups" form="unqualified" type="groups" minOccurs="0"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="timeMax" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="timeMin" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Setting">
        <xs:sequence>
            <xs:element name="etag" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="id" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="value" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Settings">
        <xs:sequence>
            <xs:element name="etag" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="items" form="unqualified" type="Setting" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="kind" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="nextPageToken" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="nextSyncToken" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TimePeriod">
        <xs:sequence>
            <xs:element name="end" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="start" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="calendar">
        <xs:sequence>
            <xs:element name="additionalProperties" form="unqualified" type="ColorDefinition" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="calendars">
        <xs:sequence>
            <xs:element name="additionalProperties" form="unqualified" type="FreeBusyCalendar" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="creator">
        <xs:sequence>
            <xs:element name="displayName" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="email" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="id" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="self" form="unqualified" type="xs:boolean" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="event">
        <xs:sequence>
            <xs:element name="additionalProperties" form="unqualified" type="ColorDefinition" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="extendedProperties">
        <xs:sequence>
            <xs:element name="private" form="unqualified" type="private" minOccurs="0"/>
            <xs:element name="shared" form="unqualified" type="shared" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="gadget">
        <xs:sequence>
            <xs:element name="display" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="height" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="iconLink" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="link" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="preferences" form="unqualified" type="preferences" minOccurs="0"/>
            <xs:element name="title" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="type" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="width" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="groups">
        <xs:sequence>
            <xs:element name="additionalProperties" form="unqualified" type="FreeBusyGroup" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="notificationSettings">
        <xs:sequence>
            <xs:element name="notifications" form="unqualified" type="CalendarNotification" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="organizer">
        <xs:sequence>
            <xs:element name="displayName" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="email" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="id" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="self" form="unqualified" type="xs:boolean" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="params">
        <xs:sequence>
            <xs:element name="additionalProperties" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="preferences">
        <xs:sequence>
            <xs:element name="additionalProperties" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="private">
        <xs:sequence>
            <xs:element name="additionalProperties" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="reminders">
        <xs:sequence>
            <xs:element name="overrides" form="unqualified" type="EventReminder" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="useDefault" form="unqualified" type="xs:boolean" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="scope">
        <xs:sequence>
            <xs:element name="type" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="value" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="shared">
        <xs:sequence>
            <xs:element name="additionalProperties" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="source">
        <xs:sequence>
            <xs:element name="title" form="unqualified" type="xs:string" minOccurs="0"/>
            <xs:element name="url" form="unqualified" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:element name="Acl" type="Acl"/>
    <xs:element name="AclRule" type="AclRule"/>
    <xs:element name="Calendar" type="Calendar"/>
    <xs:element name="CalendarList" type="CalendarList"/>
    <xs:element name="CalendarListEntry" type="CalendarListEntry"/>
    <xs:element name="CalendarNotification" type="CalendarNotification"/>
    <xs:element name="Channel" type="Channel"/>
    <xs:element name="ColorDefinition" type="ColorDefinition"/>
    <xs:element name="Colors" type="Colors"/>
    <xs:element name="Error" type="Error"/>
    <xs:element name="Event" type="Event"/>
    <xs:element name="EventAttendee" type="EventAttendee"/>
    <xs:element name="EventDateTime" type="EventDateTime"/>
    <xs:element name="EventReminder" type="EventReminder"/>
    <xs:element name="Events" type="Events"/>
    <xs:element name="FreeBusyCalendar" type="FreeBusyCalendar"/>
    <xs:element name="FreeBusyGroup" type="FreeBusyGroup"/>
    <xs:element name="FreeBusyRequest" type="FreeBusyRequest"/>
    <xs:element name="FreeBusyRequestItem" type="FreeBusyRequestItem"/>
    <xs:element name="FreeBusyResponse" type="FreeBusyResponse"/>
    <xs:element name="Setting" type="Setting"/>
    <xs:element name="Settings" type="Settings"/>
    <xs:element name="TimePeriod" type="TimePeriod"/>
</xs:schema>


 

 

 

版权声明:本文为博主原创文章,未经博主允许不得转载。

如何用Google APIs和Google的应用系统进行集成(8)----如何把Google Blogger(博客)的JSON Schema转换成XML的Schema(XSD)?

在Google RESTFul API中,Google Blogger API应该和我们的生活离得最近;因为几乎很多人每天都在看博客,都在写博客,都听说过博客。在前面的Google的应用系统进行集成(...
  • chancein007
  • chancein007
  • 2014年06月25日 22:40
  • 1589

如何用Google APIs和Google的应用系统进行集成(5)----如何把Google Tasks的JSON Schema转换成XML的Schema(XSD)?

前面说了一些Google API的介绍,但是在实际的开发当中,我们可能需要把Google RESTful API返回的JSON数据转换成XML数据输入到第三方系统,这在企业应用集成里面非常的常见。那么...
  • chancein007
  • chancein007
  • 2014年06月09日 22:52
  • 1502

如何用Google APIs和Google的应用系统进行集成(1)----Google APIs简单介绍

Google的应用系统提供了很多的应用,比如 Google广告,Google 任务,Google 日历,Google blogger,Google Plus,Google 地图等等非常的多的应用,请见...
  • chancein007
  • chancein007
  • 2014年06月02日 00:00
  • 2047

GoogleApi与Android SDK区别

GoogleApi与Android SDK区别
  • lilxinglong
  • lilxinglong
  • 2016年06月17日 17:21
  • 2059

根据XML生成XML schema(*.xsd)

.下载工具trang 将trang加入path 2.生成xsd文件 Dos代码 java -jar trang.jar XXX1.xml XXX2.xsd OK ,enjoy...
  • xinghui_liu
  • xinghui_liu
  • 2013年12月20日 13:59
  • 841

schema、dtd、xml之间的关系

schema的专业叫法是模式,每一个web.xml都要 ============ schema和dtd都是对xml文件的进一步约束: 1xml文件中可以用哪些元素,如引用了web-app_2.4.xs...
  • Ideality_hunter
  • Ideality_hunter
  • 2016年05月29日 15:27
  • 2892

XML中引入Schema的介绍

第一篇blog,提笔拿下,就写一下来到黑马所学到的一些知识吧。         首先介绍一些概念,名称空间:指的是一个环境,所用的标签来自哪个环境定义。我的理解是像java中的包一样指明一个java...
  • GeorgeFree
  • GeorgeFree
  • 2015年01月15日 23:23
  • 1172

在xml中如何引用自己定义的schema文件?

最关键的就是xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”这句话 意思是:自己这个文档的命名空间,可以方便其它xml或着schema文件引...
  • qq_31451471
  • qq_31451471
  • 2016年12月26日 23:02
  • 2125

XSD- XML Schema Definition模式定义

XML Schema Definition(XSD)模式定义文件,实际上就是规定了相应的XML文件中,包含哪些元素、属性,以及这些元素和属性的排列顺序等。...
  • sirenxiaohuayuan
  • sirenxiaohuayuan
  • 2016年01月25日 22:33
  • 1381

如何用Google APIs和Google的应用系统进行集成(2)----Google APIs的所有的RESTFul服务一览

上篇文章,我提到了,Google APIs暴露了86种不同种类和版本的API。我们可以通过在浏览器里面输入https://www.googleapis.com/discovery/v1/apis这个U...
  • chancein007
  • chancein007
  • 2014年06月02日 13:37
  • 3431
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:如何用Google APIs和Google的应用系统进行集成(6)----如何把Google Calendar的JSON Schema转换成XML的Schema(XSD)?
举报原因:
原因补充:

(最多只允许输入30个字)