123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: cpscrn
- (C) Copyright IBM Corp. 2013
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="uiSkin">
- <xs:annotation>
- <xs:documentation>Root element.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element ref="uiElements"/>
- <xs:element ref="applicationElements"/>
- <xs:element ref="branding"/>
- <xs:element ref="namedColors"/>
- <xs:element ref="deprecated"/>
- </xs:all>
- <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
- <xs:attribute name="overrides" type="xs:NMTOKEN" use="required"/>
- <xs:attribute name="version" type="xs:decimal" use="optional" default="2.0"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="uiElements">
- <xs:annotation>
- <xs:documentation>Currently supported UI elements.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element name="body">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="text" type="typeText"/>
- <xs:element name="hyperlink">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="color" type="typeColor"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="hover"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="hyperlinkStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="dialog">
- <xs:complexType>
- <xs:all>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="caption">
- <xs:complexType>
- <xs:all>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="text" type="typeText"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="separator">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="border" type="typeBorder"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="commandBar">
- <xs:complexType>
- <xs:all>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="padding" type="typeCssLength" minOccurs="0"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="form">
- <xs:complexType>
- <xs:all>
- <xs:element name="label">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="text" type="typeText"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="button">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="text" type="typeText"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="hover"/>
- <xs:enumeration value="pressed"/>
- <xs:enumeration value="disabled"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="formButtonStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- <xs:element name="textBox">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="border" type="typeBorder" minOccurs="0"/>
- <xs:element name="text" type="typeText" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="disabled"/>
- <xs:enumeration value="hover"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="formTextBoxStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- <xs:element name="tree">
- <xs:complexType>
- <xs:all>
- <xs:element name="node">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="text" type="typeText" minOccurs="0"/>
- <xs:element name="background" type="typeBackground" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="selected"/>
- <xs:enumeration value="hover"/>
- <xs:enumeration value="alternate"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="treeStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="dropDown">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="item">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="text" type="typeText" minOccurs="0"/>
- <xs:element name="background" type="typeBackground" minOccurs="0"/>
- <xs:element name="border" type="typeBorder" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="disabled"/>
- <xs:enumeration value="hover"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="dropDownStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="grid">
- <xs:complexType>
- <xs:all>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="header">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="text" type="typeText"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="body">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="row">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:choice>
- <xs:element name="text" type="typeText"/>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="text" type="typeText" minOccurs="0"/>
- </xs:sequence>
- </xs:choice>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="alternate"/>
- <xs:enumeration value="selected"/>
- <xs:enumeration value="hover"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="gridBodyRowStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="footer">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="text" type="typeText"/>
- <xs:element name="padding" type="typeCssLength"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="header">
- <xs:complexType>
- <xs:all>
- <xs:element name="primaryBanner">
- <xs:complexType>
- <xs:all>
- <xs:element name="title">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="text" type="typeText"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="companyLogo" type="typeLogo"/>
- <xs:element name="customLogo" type="typeLogo"/>
- <xs:element name="graphic" type="typeLogo"/>
- <xs:element name="navigation" type="typeNavigation"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="bannerLip">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="navigationPane">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="navigation" type="typeNavigation" maxOccurs="unbounded"/>
- <xs:element name="splitter">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="selected"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="navigationPaneSplitterStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="popup">
- <xs:complexType>
- <xs:all>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="header">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="text" type="typeText"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="content">
- <xs:complexType>
- <xs:all>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="item">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="text" type="typeText"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="hover"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="popupContentItemStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="boxShadow">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="color" type="typeColor"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="footer">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="text" type="typeText"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="hover"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="popupFooterStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="popupMenu">
- <xs:complexType>
- <xs:all>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="popupMenuItem">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="text" type="typeText"/>
- <xs:element name="background" type="typeBackground" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="hover"/>
- <xs:enumeration value="disabled"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="popupMenuItemStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- <xs:element name="separator">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="border" type="typeBorder"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="portlet">
- <xs:complexType>
- <xs:all>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="caption">
- <xs:complexType>
- <xs:all>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="text" type="typeText"/>
- <xs:element name="actions">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="action">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="hover"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="portletCaptionActionStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="tabs">
- <xs:complexType>
- <xs:all>
- <xs:element name="scrollButton">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="hover"/>
- <xs:enumeration value="disabled"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="tabsScrollButtonStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- <xs:element name="tabBar">
- <xs:complexType>
- <xs:all>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="tab">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder" minOccurs="0"/>
- <xs:element name="highlight" minOccurs="0">
- <xs:complexType>
- <xs:all>
- <xs:element name="color" type="typeColor"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="text" type="typeText"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="selected"/>
- <xs:enumeration value="hover"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="tabsTabBarTabStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="toolbar">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="item">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="text" type="typeText"/>
- <xs:element name="background" type="typeBackground" minOccurs="0"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="padding" type="typeCssLength"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="hover"/>
- <xs:enumeration value="active"/>
- <xs:enumeration value="selected"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="toolbarItemStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="welcomePage">
- <xs:complexType>
- <xs:all>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="section">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="frame">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="header">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="graphic">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="boxShadow">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="color" type="typeColor"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="text" type="typeText"/>
- <xs:element name="logo" type="typeLogo"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="content">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="text" type="typeText"/>
- <xs:element name="item">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:choice>
- <xs:sequence>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="boxShadow">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="color" type="typeColor"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:element name="text" type="typeText"/>
- </xs:choice>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="hover"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="welcomePagePanelSectionItemStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="tooltip">
- <xs:complexType>
- <xs:all>
- <xs:element name="border" type="typeBorder"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="widget">
- <xs:complexType>
- <xs:all>
- <xs:element name="background" type="typeBackground"/>
- <xs:element name="border" type="typeBorder"/>
- <xs:element name="boxShadow" type="typeBoxShadow"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="applicationElements">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="application" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="body">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="images">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="image" maxOccurs="unbounded">
- <xs:complexType>
- <xs:all>
- <xs:element name="url"/>
- </xs:all>
- <xs:attribute name="name"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="name"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="branding">
- <xs:annotation>
- <xs:documentation>These are settings that can be used to modify certain branding elements of the UI. In particular the ability to provide a custom header for the banner, or custom title for the welcome page.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element name="header">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="value" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attribute name="name" use="required">
- <xs:simpleType>
- <xs:restriction base="typeBrandingValueName">
- <xs:enumeration value="cognos.connection.header"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="welcomePage">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="value" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attribute name="name" use="required">
- <xs:simpleType>
- <xs:restriction base="typeBrandingValueName">
- <xs:enumeration value="cognos.connection.welcomepage"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="namedColors">
- <xs:annotation>
- <xs:documentation>A palette of defined colors.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="namedColor" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attribute name="name" type="xs:ID" use="required">
- <xs:annotation>
- <xs:documentation>Name by which this color will be referenced.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="value" type="typeColorValue" use="required">
- <xs:annotation>
- <xs:documentation>RGB value of a color, in hex notation.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="deprecated">
- <xs:annotation>
- <xs:documentation>Elements supported in the past but currently having no representation in a skin. This information supports skin upgrade process.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element name="colors">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="color" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="ref" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="typeBackground">
- <xs:choice>
- <xs:sequence>
- <xs:element name="color" type="typeColor"/>
- <xs:element name="image" type="typeImage" minOccurs="0"/>
- </xs:sequence>
- <xs:element name="image" type="typeImage"/>
- </xs:choice>
- <xs:attribute ref="ID"/>
- </xs:complexType>
- <xs:complexType name="typeBorder">
- <xs:all>
- <xs:element name="color" type="typeColor"/>
- <xs:element name="width" type="typeCssLength" minOccurs="0"/>
- <xs:element name="style" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="dotted"/>
- <xs:enumeration value="solid"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="radius" type="typeCssLength" minOccurs="0"/>
- </xs:all>
- <xs:attribute ref="ID"/>
- </xs:complexType>
- <xs:simpleType name="typeBrandingValueName">
- <xs:restriction base="xs:ID"/>
- </xs:simpleType>
- <xs:complexType name="typeColor">
- <xs:attribute ref="ID"/>
- <xs:attribute name="ref" type="xs:string" use="required"/>
- <xs:attribute name="alpha" use="optional">
- <xs:annotation>
- <xs:documentation>Level of transparency.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:decimal">
- <xs:minInclusive value="0"/>
- <xs:maxInclusive value="1"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attributeGroup ref="attributesHSV"/>
- </xs:complexType>
- <xs:simpleType name="typeColorValue">
- <xs:restriction base="xs:string">
- <xs:pattern value="#[0-9a-f]{6}"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="typeCssLength">
- <xs:annotation>
- <xs:documentation>The "length" CSS data type denotes distance measurements. It is a value of a "number" CSS data type, immediately followed by a length unit (px, em, pc, in, mm, ...)</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:pattern value="([-+])?(([0-9]+)|(([0-9]+)?(.[0-9]+)))((em|ex|ch|rem)|(vh|vw|vmin|vmax)|(px|mm|cm|in|pt|pc))"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="typeGradient">
- <xs:sequence>
- <xs:element name="color" type="typeColor" minOccurs="0" maxOccurs="2">
- <xs:annotation>
- <xs:documentation>There can be 0, 1 or 2 color elements contained in a gradient. Zero color elements mean the gradient isn't being used. One color element will use the same color for both the start and end colors (in other words: it behaves as a solid color). Two values represent the start and end colors of the gradient.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute ref="ID"/>
- </xs:complexType>
- <xs:complexType name="typeImage">
- <xs:choice>
- <xs:element name="gradient" type="typeGradient"/>
- <xs:sequence>
- <xs:element name="url" type="xs:string"/>
- <xs:element name="gradient" type="typeGradient" minOccurs="0"/>
- </xs:sequence>
- </xs:choice>
- <xs:attribute name="width" type="typeCssLength" use="optional"/>
- <xs:attribute name="height" type="typeCssLength" use="optional"/>
- <xs:attribute name="display" use="optional">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value=""/>
- <xs:enumeration value="none"/>
- <xs:enumeration value="box"/>
- <xs:enumeration value="block"/>
- <xs:enumeration value="flex"/>
- <xs:enumeration value="inline"/>
- <xs:enumeration value="inline-block"/>
- <xs:enumeration value="inline-flex"/>
- <xs:enumeration value="inline-table"/>
- <xs:enumeration value="list-item"/>
- <xs:enumeration value="table"/>
- <xs:enumeration value="table-caption"/>
- <xs:enumeration value="table-cell"/>
- <xs:enumeration value="table-column"/>
- <xs:enumeration value="table-column-group"/>
- <xs:enumeration value="table-footer-group"/>
- <xs:enumeration value="table-header-group"/>
- <xs:enumeration value="table-row"/>
- <xs:enumeration value="table-row-group"/>
- <xs:enumeration value="inherit"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="typeLogo">
- <xs:choice>
- <xs:element name="background" type="typeBackground"/>
- </xs:choice>
- </xs:complexType>
- <xs:complexType name="typeNavigation">
- <xs:sequence>
- <xs:element name="background" type="typeBackground" minOccurs="0"/>
- <xs:element name="border" type="typeBorder" minOccurs="0"/>
- <xs:element name="item">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="state" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="background" type="typeBackground" minOccurs="0"/>
- <xs:element name="border" type="typeBorder" minOccurs="0"/>
- <xs:element name="boxShadow" type="typeBoxShadow" minOccurs="0"/>
- <xs:element name="text" type="typeText" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="selected"/>
- <xs:enumeration value="hover"/>
- <xs:enumeration value="disabled"/>
- <xs:enumeration value="alternate"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="navigationItemStateType">
- <xs:annotation>
- <xs:documentation>There shall not be two or more "state" elements under any parent, that have the same value of @type attribute.</xs:documentation>
- </xs:annotation>
- <xs:selector xpath="state"/>
- <xs:field xpath="@type"/>
- </xs:key>
- </xs:element>
- <xs:element name="verticalAlign" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="baseline"/>
- <xs:enumeration value="sub"/>
- <xs:enumeration value="super"/>
- <xs:enumeration value="top"/>
- <xs:enumeration value="text-top"/>
- <xs:enumeration value="middle"/>
- <xs:enumeration value="bottom"/>
- <xs:enumeration value="text-bottom"/>
- <xs:enumeration value="inherit"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="type">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="default"/>
- <xs:enumeration value="alternate"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="typeText">
- <xs:all>
- <xs:element name="color" type="typeColor"/>
- <xs:element name="weight" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="bold"/>
- <xs:enumeration value="normal"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="shadow" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="color" type="typeColor"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- <xs:complexType name="typeBoxShadow">
- <xs:all>
- <xs:element name="color" type="typeColor"/>
- </xs:all>
- </xs:complexType>
- <xs:attributeGroup name="attributesHSV">
- <xs:attribute name="hOffset" type="xs:decimal" use="optional"/>
- <xs:attribute name="sOffset" type="xs:decimal" use="optional"/>
- <xs:attribute name="vOffset" type="xs:decimal" use="optional"/>
- </xs:attributeGroup>
- <xs:attribute name="ID" type="xs:ID"/>
- </xs:schema>
|