Below is my schema:
<?xml version = "1.0" encoding = "UTF-8"?><xs:schema elementFormDefault = “qualified” xmlns:tsd = “http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition” xmlns:xs = “XML Schema”>
xs:annotation
xs:appinfo
<tsd:schemaInfo name = “myschema”>
<tsd:collection name = “indextesting2”></tsd:collection>
<tsd:doctype name = “friday”>
tsd:logical
tsd:contentclosed</tsd:content>
</tsd:logical>
</tsd:doctype>
</tsd:schemaInfo>
</xs:appinfo>
</xs:annotation>
<xs:element name = “friday”>
xs:complexType
xs:sequence
<xs:element ref = “description” maxOccurs = “unbounded”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “description”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
xs:complexType
xs:sequence
<xs:any processContents = “skip”></xs:any>
</xs:sequence>
<xs:attribute name = “ID” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:attributeInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:attributeInfo>
</xs:appinfo>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
My XML is as follows:
<?xml version="1.0" encoding="ISO-8859-1"?> To be-bop or not to be-bop, there is no question The famous Gratiand.However when I executed the following command:
{?explain?}for $a in input()//description[@ID=“2005”]
return $a
In the output, I could not find the XqcUnnestStdIdxScan element. I assum I did not index correctly. But what is wrong? Can someone please help?