[xquery-talk] Base Xq and extend base to have subclass xqs

Andrew Welch andrew.j.welch at gmail.com
Sat Aug 27 00:47:02 PDT 2011


On 26 August 2011 19:54, sudheshna iyer <sudheshnaiyer at yahoo.com> wrote:
> I have 200  elements in  one xsd.
> I have to use this xsd to create 6 xquery maps. All of these xqs have 100
> elements in common.
> I want to create one xquery with 100 elements and call that in rest of the 5
> xqueries. I don't want to copy the mappings from base xq to rest of 5 xqs.

Ok, you can create the 5 XQueries and in each one import a common XQuery module.

> I want the functionality similar to java where we create a base class and
> extend it to create sub classes.

The way you describe the problem it doesn't sound like that is what
you need... do you need to override functionality in the base class?

-- 
Andrew Welch
http://andrewjwelch.com



More information about the talk mailing list