diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-22 11:51:31 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-22 12:17:37 +0100 |
commit | 22629764d731d715125c82d9f12a31599264c63d (patch) | |
tree | 729ebc2d59f157b6f96d9e57068cd83f4448d7a5 /sfx2/classification/xlink-2003-12-31.xsd | |
parent | 5df76b2d3ddbd97bf7e6c5d78052766e1602b558 (diff) |
sfx2 classification: import plain XML interchange format XSD schema
The classification infobar loads the classification value from the
document metadata. In order to add metadata to a document from the UI,
it's necessary to know what are the possible choices. Those choices can
be described in an XML file. The format of that XML is described using
this XSD schema. baf.xsd is the main file from
<https://www.tscp.org/wp-content/uploads/2013/08/TSCP_BAFv1.pdf>, the
rest are just the dependencies.
Change-Id: I6b22c0279031799cafa4fd6edd20ed1cdb09c8cc
Diffstat (limited to 'sfx2/classification/xlink-2003-12-31.xsd')
-rw-r--r-- | sfx2/classification/xlink-2003-12-31.xsd | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/sfx2/classification/xlink-2003-12-31.xsd b/sfx2/classification/xlink-2003-12-31.xsd new file mode 100644 index 000000000000..bfe7a792ea1d --- /dev/null +++ b/sfx2/classification/xlink-2003-12-31.xsd @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- (c) XBRL International. See www.xbrl.org/legal + XLink attribute specification - produced by xBRL group in December 2006 + Thanks to xBRL for giving OASIS CIQ TC permission to use this specification +--> +<schema xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/1999/xlink" elementFormDefault="qualified" attributeFormDefault="qualified"> + <annotation> + <documentation> + XLink attribute specification + </documentation> + </annotation> + <attribute name="type"> + <simpleType> + <annotation> + <documentation> + Enumeration of values for the type attribute + </documentation> + </annotation> + <restriction base="string"> + <enumeration value="simple"/> + <enumeration value="extended"/> + <enumeration value="locator"/> + <enumeration value="arc"/> + <enumeration value="resource"/> + <enumeration value="title"/> + </restriction> + </simpleType> + </attribute> + <attribute name="role"> + <simpleType> + <annotation> + <documentation> + A URI with a minimum length of 1 character. + </documentation> + </annotation> + <restriction base="anyURI"> + <minLength value="1"/> + </restriction> + </simpleType> + </attribute> + <attribute name="arcrole"> + <simpleType> + <annotation> + <documentation> + A URI with a minimum length of 1 character. + </documentation> + </annotation> + <restriction base="anyURI"> + <minLength value="1"/> + </restriction> + </simpleType> + </attribute> + <attribute name="title" type="string"/> + <attribute name="show"> + <simpleType> + <annotation> + <documentation> + Enumeration of values for the show attribute + </documentation> + </annotation> + <restriction base="string"> + <enumeration value="new"/> + <enumeration value="replace"/> + <enumeration value="embed"/> + <enumeration value="other"/> + <enumeration value="none"/> + </restriction> + </simpleType> + </attribute> + <attribute name="actuate"> + <simpleType> + <annotation> + <documentation> + Enumeration of values for the actuate attribute + </documentation> + </annotation> + <restriction base="string"> + <enumeration value="onLoad"/> + <enumeration value="onRequest"/> + <enumeration value="other"/> + <enumeration value="none"/> + </restriction> + </simpleType> + </attribute> + <attribute name="label" type="NCName"/> + <attribute name="from" type="NCName"/> + <attribute name="to" type="NCName"/> + <attribute name="href" type="anyURI"/> +</schema> |