From: Adam R. <ad...@ex...> - 2011-06-13 13:23:56
|
> 1 - I think that would be slower or not efficient. Indeed it may not be as efficient. But is it fast enough? > 2 - the idea is that everyone can use the language without create the > trigger. I mean install and use. Well you can ship this Trigger and instructions of course. > What do you think?. Can you give me the details that i want anyway? I cant help you with the low level stuff as I am not familiar with the aspects you need to know about, only Wolfgang could help you in this area. But I suggest you just start reading the code, as you will need to understand it if you want to take such a complex approach. > 2011/6/13, Adam Retter <ad...@ex...>: >> Why cant you use Triggers? >> >> On 13 June 2011 15:00, José Angel <tem...@gm...> wrote: >>> I need to modify the proccess because im doing a new language with >>> xquery as base language. Can you give me details about the processing >>> too please?. Thanks!. >>> >>> 2011/6/13, Adam Retter <ad...@ex...>: >>>>> 1st - How is the node structure implemented in eXist-db? i mean, which >>>>> files >>>>> are involved? and which mean each one. >>>> >>>> The persistent DOM is in dom.dbx, Nodes are stored in an optimised Binary >>>> Tree. >>>> The function storeNode in NativeBroker is a good place to start >>>> looking... >>>> >>>>> 2nd - How does a node stores an attribute? Arrays? Vectors? Which is the >>>>> name of the arrays/vectors if that's it's the case. >>>> >>>> These are just more leaves in the tree, after all atributes are nodes. >>>> >>>>> 3rd - How the nodes and attributes are processed?. What i want is >>>>> something >>>>> like this: "If someone uses an attribute called xml:atributeX, change >>>>> the >>>>> value of that attribute to 1 before giving the result". >>>> >>>> So you want to be able to dynamically manipulate node values before >>>> they are returned to the user, this is what Triggers are for, you dont >>>> need to access the low-level storage for this. >>>> >>>>> Please all details that you can give me would be very helpfull once >>>>> again... >>>>> Thanks for your time and pattience!. >>>>> >>>>> -- >>>>> José Angel Labbad >>>>> Estudiante de Ingeniería de la Computación >>>>> Universidad Simón Bolívar. >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> EditLive Enterprise is the world's most technically advanced content >>>>> authoring tool. Experience the power of Track Changes, Inline Image >>>>> Editing and ensure content is compliant with Accessibility Checking. >>>>> http://p.sf.net/sfu/ephox-dev2dev >>>>> _______________________________________________ >>>>> Exist-open mailing list >>>>> Exi...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/exist-open >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Adam Retter >>>> >>>> eXist Developer >>>> { United Kingdom } >>>> ad...@ex... >>>> irc://irc.freenode.net/existdb >>>> >>> >>> >>> -- >>> José Angel Labbad >>> Estudiante de Ingeniería de la Computación >>> Universidad Simón Bolívar. >>> >> >> >> >> -- >> Adam Retter >> >> eXist Developer >> { United Kingdom } >> ad...@ex... >> irc://irc.freenode.net/existdb >> > > > -- > José Angel Labbad > Estudiante de Ingeniería de la Computación > Universidad Simón Bolívar. > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |