Browse Prior Art Database

Constructing A Single Internal Representation For A XQUERY Constructor In A FLWOR Expression

IP.com Disclosure Number: IPCOM000237943D
Publication Date: 2014-Jul-23
Document File: 3 page(s) / 108K

Publishing Venue

The IP.com Prior Art Database

Abstract

Disclosed is a method for constructing a single internal representation corresponding to a XQUERY constructor embedded in a FLWOR expression, based on deferring construction of the single internal representation.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 51% of the total text.

Page 01 of 3

Constructing A Single Internal Representation For A XQUERY Constructor In A FLWOR Expression

Disclosed is a method for constructing an internal representation of an XQUERY constructor embedded in a FLWOR expression, where construction of the internal representation may be deferred until reference is made to a sequence returned by the FLWOR expression. The sequence includes one or more constructor sequence items,

where such a constructor sequence item may be associated with a loop in the FLWOR expression. The constructor sequence item may include an XML tagging template associated with the loop, arguments included in the loop, and input values corresponding to the arguments. Further, the XML tagging template associated with the loop may include the XQUERY constructor. In an instance, the XQUERY constructor may be built into the XML tagging template during BIND time. In another instance, the constructor sequence item may be built subsequent to the execution of a return clause in the FLWOR expression. Additionally, the constructor sequence item may keep track of variables in the loop and data in the XML tagging template, as shown in Figure 1.

Figure 1

1


Page 02 of 3

Execution of the FLWOR expression may result in return of a sequence that includes one or more constructor sequences as shown in Figure 2, for example.

Figure 2

According to one or more embodiments of the present invention, the construction of the single internal representation corresponding to the XQUERY...