网站首页静态化代码网站直接做标准曲线
网站首页静态化代码,网站直接做标准曲线,2018网站如何做seo,长沙市网页设计公司文章目录 第二十五章 控制到 XML 模式的映射 - 将文字属性映射到 XML 模式将文字属性映射到 XML 模式IRIS 数据类型类的默认 XSD 类型 第二十五章 控制到 XML 模式的映射 - 将文字属性映射到 XML 模式
将文字属性映射到 XML 模式
本节讨论如何将文字#xff08;非集合#… 文章目录 第二十五章 控制到 XML 模式的映射 - 将文字属性映射到 XML 模式将文字属性映射到 XML 模式IRIS 数据类型类的默认 XSD 类型 第二十五章 控制到 XML 模式的映射 - 将文字属性映射到 XML 模式
将文字属性映射到 XML 模式
本节讨论如何将文字非集合属性投影到 XML 类型以及影响 XML 架构的选项。它讨论了以下内容
数据类型类的默认 XSD 类型影响架构的编译器关键字影响架构的参数
IRIS 数据类型类的默认 XSD 类型
如果类或类属性基于常见 IRIS 数据类型类之一则将根据下表自动设置 XML 类型。 %xsd 包中的类直接映射到 XML 类型如表中所示。
%Library 和 %xsd 包中 IRIS 数据类型的 XM 类型
IRIS Class in the %xsd PackageIRIS Class in the %Library PackageXSD Type Used in Projections to XML%xsd.anyURIanyURI%xsd.base64Binary%Binary%Statusbase64Binary%xsd.boolean%Booleanboolean%xsd.byte%TinyIntbyte%xsd.date%Datedate%xsd.dateTime%PosixTime%StringTimeStamp%TimeStampdateTime%xsd.decimal%Currency%Decimal%Numericdecimal%xsd.double%Doubledouble%xsd.floatfloat%xsd.hexBinaryhexBinary%xsd.intint%xsd.integerinteger%xsd.long%BigIn%Integerlong%xsd.negativeIntegernegativeInteger%xsd.nonNegativeIntegernonNegativeInteger%xsd.nonPositiveIntegernonPositiveInteger%xsd.positiveIntegerpositiveInteger%xsd.short%SmallIntshort%xsd.string%Name%String%Liststring%xsd.time%Timetime%xsd.unsignedByteunsignedByte%xsd.unsignedIntunsignedInt%xsd.unsignedLongunsignedLong%xsd.unsignedShortunsignedShort
有关 XML 数据类型的信息请参阅 https://www.w3.org/TR/xmlschema-2/。
例如考虑以下类
Class Schema.DataTypesDemo Extends (%RegisteredObject, %XML.Adaptor)
{Parameter XMLTYPENAMESPACEmytypes;Property binaryprop As %xsd.base64Binary;Property booleanprop As %Boolean;Property dateprop As %Date;Property datetimeprop As %TimeStamp;Property decimalprop As %Numeric;Property integerprop As %Integer;Property stringprop As %String;Property timeprop As %Time;}该类的架构如下
?xml version1.0 encodingUTF-8?
schema xmlnshttp://www.w3.org/2001/XMLSchema xmlns:shttp://www.w3.org/2001/XMLSchema
elementFormDefaultqualified targetNamespacemytypescomplexType nameDataTypesDemosequenceelement minOccurs0 namebinaryprop types:base64Binary/element minOccurs0 namebooleanprop types:boolean/element minOccurs0 namedateprop types:date/element minOccurs0 namedatetimeprop types:dateTime/element minOccurs0 namedecimalprop types:decimal/element minOccurs0 nameintegerprop types:long/element minOccurs0 namestringprop types:string/element minOccurs0 nametimeprop types:time//sequence/complexType
/schema
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/pingmian/85384.shtml
如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!