1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- edited with XMLSpy v2010 rel. 3 sp1 (http://www.altova.com) by Tanko (IBM SWG CANADA) -->
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: moser
- (C) Copyright IBM Corp. 2015
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0">
- <xsd:complexType name="textResource">
- <xsd:annotation>
- <xsd:documentation>All locale sensitive properties reference the text in resource modules. There are separate resource modules for different languages. The resource modules are loaded dynamically based on the current run locale. To ensure that, the implementation of 'import' has to be able to resolve macros containing session parameters.
- There are separate textResource elements for different contexts.</xsd:documentation>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element name="resourceLanguage" type="xsd:string">
- <xsd:annotation>
- <xsd:documentation>Specifies the resource language for this 'textResource' element</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="context" type="xsd:string">
- <xsd:annotation>
- <xsd:documentation>Provides the context for the text in the resource. Each textResource element has only one context. There can be more than one textResource elements for different contexts.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
- <xsd:annotation>
- <xsd:documentation>Each text is located in item element along with the identifier. The identifier is used to reference the text resource.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="identifier" type="xsd:string">
- <xsd:annotation>
- <xsd:documentation>This ID is used in the code to represent the word or phrase that is in this 'item'. This way the code is locale insensitive. When the XML module has to be exported to UI this ID is used to find the real word that will replace the ID in the localized elements like 'label', 'dectription' etc.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="text" type="xsd:string">
- <xsd:annotation>
- <xsd:documentation>The text associated with the identifier. </xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:schema>
|