Hi Jordan, without looking more closely, I suppose the problem is that you
incidentally put a slash in front of predicates, e.g.
packagedElement/[@xmi:id=$currID]/ownedAttribute...
while you probably wanted to say
packagedElement[@xmi:id=$currID]/ownedAttribute...
Apart from not expressin
Hello BaseX Staff,
I am trying to finish building a map of data I have been working on and am
nearly complete, but am stuck on trying to retrieve an elements value,
which should just be a single integer in string format.
The function doing the work:
declare function local:propGenerator($propList,
Yes, we do.
On Mon, Jul 1, 2019 at 5:13 PM Christian Grün
wrote:
> Do you have UPDINDEX enabled in your project? See [1] for more information.
>
> Best,
> Christian
>
> [1] http://docs.basex.org/wiki/Options#UPDINDEX
>
>
>
> On Mon, Jul 1, 2019 at 4:52 PM France Baril
> wrote:
> >
> > Hi,
> >
>
Hi Jordan,
I’m glad to hear you solved the problem. Just a minor observation:
> let $attributes := $begin//*[@xmi:id=$id]/ownedAttribute/[@name |
> @xmi:type | @xmi:id]
This query will create an XQuery array for each ownedAttribute element
(with 3 attributes inside). You could additionally
4 matches
Mail list logo