Hello,
I'm trying to update or create some attributes in a node.
¿how can i do that with BaseX?
This is my DTD:
 <!ELEMENT SITUATION ((ROLES)?,(USERS)?,(GROUPS)?,(OBJECTS)?)>
    <!ATTLIST SITUATION
            id ID #REQUIRED
            name CDATA #IMPLIED
            desc CDATA #IMPLIED
            start CDATA #IMPLIED
            finish CDATA #IMPLIED>
            category_scope (small | large | community | other) #IMPLIED
            size_scope CDATA #IMPLIED
            environment ( synchronous | asynchronous | face-to-face | blended | others) #IMPLIED
            educational_level CDATA #IMPLIED
            experience_level (none|elementary|advanced|expert) #IMPLIED>

and i want to update or create attributes in the SITUATION node. I have seen a function called insertAttributes but i don't know how to use it with baseX, with the prefix basex: it doesn't works... i am a little lost.
Could you help me, please?