| altova:schema(ComponentKind as xs:string, Name as xs:QName) as (function(xs:string) as item()*)?  XP3.1  XQ3.1 2番目の引数内で与えられている名前と同じ名前を持つ最初の引数内で指定されているコンポーネントの型を返します。コンポーネントのプロパティの一つを選択して更にナビゲートすることができます。   •このプロパティがコンポーネントの場合、このコンポーネントのプロパティの1つを選択して更に深く他のステップをナビゲートすることができます。このステップは更にスキーマをナビゲートするために繰り返すことができます。 •コンポーネントが動的な値の場合、動的な値が返され更にナビゲートすることはできません。   メモ:  Xquery 式ではスキーマは明示的にインポートされる必要があります。XPath 式では、スキーマは処理環境にインポートされる必要があります。 例えば、 XSLT には xslt:import 命令を使用してインポートします。   
| •import schema "" at "C:\Test\ExpReport.xsd";altova:schema("element declaration", xs:QName("OrgChart"))("type definition")("content type")("particles")[3]!.("term")("kind")
 は3番目の particles コンポーネントの kind プロパティを返します。   この particles コンポーネントは OrgChart の Qname  を持つ要素宣言の子孫です。
   •import schema "" at "C:\Test\ExpReport.xsd";let $typedef := altova:schema("type definition", xs:QName("emailType"))
 for $facet in $typedef ("facets")
 return [$facet ("kind"), $facet("value")]
 は各 emailType  コンポーネントの各  facet  にそのファセットの型と値を含む列挙を返します。
   |   コンポーネントとそのプロパティ  
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Assertion" |  
| test | XPath プロパティレコード | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Attribute Declaration" |  
| name | 文字列 | 属性のローカル名 |  
| target namespace | 文字列 | 属性の名前空間 URI |  
| type definition | Simple Type または Complex Type | 
 |  
| scope | プロパティを持つ関数 ("class":"Scope", "variety": "global" or "local", "parent": the containing Complex Type or Attribute Group) | 
 |  
| value constraint | 存在する場合、プロパティを持つ関数 ("class": "Value Constraint"、 "variety": "fixed" または "default", "value": atomic value, "lexical form": string。 "value" プロパティは namespace-sensitive 型のために使用することはできないことに注意してください。 | 
 |  
| inheritable | ブール値 | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Attribute Group Definition" |  
| name | 文字列 | 属性グループのローカル名 |  
| target namespace | 文字列 | 属性グループの名前空間 URI |  
| attribute uses | (Attribute Use) のシーケンス | 
 |  
| attribute wildcard | 任意の属性のワイルドカード | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Attribute Use" |  
| required | ブール値 | 属性が必要な場合は true 、任意の場合は false |  
| value constraint | Attribute Declaration を参照 | 
 |  
| inheritable | ブール値 | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Wildcard" |  
| namespace constraint | プロパティを持つ関数 ("class": "Namespace Constraint", "variety": "any"|"enumeration"|"not", "namespaces": sequence of xs:anyURI, "disallowed names": list containing QNames and/or the strings "defined" and "definedSiblings" | 
 |  
| process contents | 文字列 ("strict"|"lax"|"skip") | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Complex Type" |  
| name | 文字列 | (匿名の場合は空)型のローカル名  |  
| target namespace | 文字列 | (匿名の場合は空)型の名前空間 URI  |  
| base type definition | Complex Type Definition | 
 |  
| final | 文字列のシーケンス ("restriction"|"extension") | 
 |  
| context | 空のシーケンス (not implemented) | 
 |  
| derivation method | 文字列 ("restriction"|"extension") | 
 |  
| abstract | ブール値 | 
 |  
| attribute uses | Attribute Use のシーケンス | 
 |  
| attribute wildcard | 任意の属性のワイルドカード | 
 |  
| content type | プロパティを持つ関数: ("class":"Content Type", "variety":string ("element-only"|"empty"|"mixed"|"simple"), particle: optional Particle, "open content": function with properties ("class":"Open Content", "mode": string ("interleave"|"suffix"), "wildcard": Wildcard), "simple type definition": Simple Type) | 
 |  
| prohibited substitutions | 文字列のシーケンス ("restriction"|"extension") | 
 |  
| assertions | アサーションのシーケンス | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Complex Type" |  
| name | 文字列 | (匿名の場合は空)型のローカル名  |  
| target namespace | 文字列 | (匿名の場合は空)型の名前空間 URI  |  
| type definition | Simple Type または Complex Type | 
 |  
| type table | プロパティを持つ関数 ("class":"Type Table", "alternatives": sequence of Type Alternative, "default type definition": Simple Type or Complex Type) | 
 |  
| scope | プロパティを持つ関数 ("class":"Scope", "variety": ("global"|"local"), "parent": optional Complex Type) | 
 |  
| value constraint | Attribute Declaration を参照 | 
 |  
| nillable | ブール値 | 
 |  
| identity-constraint definitions | Identity Constraint のシーケンス | 
 |  
| substitution group affiliations | Element Declaration のシーケンス | 
 |  
| substitution group exclusions | 文字列のシーケンス ("restriction"|"extension") | 
 |  
| disallowed substitutions | 文字列のシーケンス ("restriction"|"extension"|"substitution") | 
 |  
| abstract | ブール値 | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Wildcard" |  
| namespace constraint | プロパティを持つ関数 ("class": "Namespace Constraint", "variety": "any"|"enumeration"|"not", "namespaces": sequence of xs:anyURI, "disallowed names": list containing QNames and/or the strings "defined" and "definedSiblings" | 
 |  
| process contents | 文字列 ("strict"|"lax"|"skip") | 
 |  | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | ファセットの名前、例えば、 "minLength" または "enumeration" |  
| value | ファセットによる | ファセットの値 |  
| fixed | ブール値 | 
 |  
| typed-value | ファセットの列挙のみ、Array(xs:anyAtomicType | 列挙値を含む配列。それぞれがアトミック値のシーケンスである場合があります。 (メモ: 列挙ファセットに関しては、実際の型にかかわらず "value" 値プロパティは文字列のシーケンスです) |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Identity-Constraint Definition" |  
| name | 文字列 | 制約のローカル名 |  
| target namespace | 文字列 | 制約の名前空間 URI |  
| identity-constraint category | 文字列 ("key"|"unique"|"keyRef") | 
 |  
| selector | XPath プロパティレコード | 
 |  
| fields | XPath プロパティレコード のシーケンス | 
 |  
| referenced key | (keyRef のためのみ): Identity Constraint | 対応するキー制約 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Model Group" |  
| compositor | 文字列 ("sequence"|"choice"|"all") | 
 |  
| particles | Particle のシーケンス | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Model Group Definition" |  
| name | 文字列 | モデルグループのローカル名 |  
| target namespace | 文字列 | モデルグループの名前空間 URI  |  
| model group | Model Group | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Notation Declaration" |  
| name | 文字列 | 表記のローカル名 |  
| target namespace | 文字列 | 表記の名前空間 URI |  
| system identifier | anyURI | 
 |  
| public identifier | 文字列 | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Particle" |  
| min occurs | 整数 | 
 |  
| max occurs | 整数または文字列("unbounded") | 
 |  
| term | Element Declaration、Element Wildcard、または ModelGroup | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Simple Type Definition" |  
| name | 文字列 | (匿名の場合は空)型のローカル名  |  
| target namespace | 文字列 | (匿名の場合は空)型の名前空間 URI  |  
| final | 文字列のシーケンス("restriction"|"extension"|"list"|"union") | 
 |  
| context | 含まれるコンポーネント | 
 |  
| base type definition | Simple Type | 
 |  
| facets | Sequence of Facet | 
 |  
| fundamental facets | (実装されていない)空のシーケンス | 
 |  
| variety | 文字列 ("atomic"|"list"|"union") | 
 |  
| primitive type definition | Simple Type | 
 |  
| item type definition | (リスト型のみのための) Simple Type | 
 |  
| member type definitions | (ユニオン型のための) Simple Type のシーケンス | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| kind | 文字列 | "Type Alternative" |  
| test | XPath プロパティレコード | 
 |  
| type definition | Simple Type または Complex Type | 
 |   | 
| 
| プロパティ名 | プロパティ型 | プロパティ値 |  
| namespace bindings | プロパティを持つ関数のシーケンス ("prefix": string, "namespace": anyURI) | 
 |  
| default namespace | anyURI | 
 |  
| base URI | anyURI | XPath 式の静的ベース URI  |  
| expression | 文字列 | 文字列としての XPath 式 |   |   |