Replies: 1 comment 1 reply
-
|
Hey! I applaud the initiative but I doubt whether this library is the best place for it. Would you consider making your own repo, that we can even link to as a great example of integrating FontoXPath! Some small feedback nonetheless
That actually already happens in the back: there is a map that caches the parsing (and static compilation result) of any XPath/XQuery object. You can just pass the same string and FontoXPath handles it for you!
Not familiar with XQIB I'm afraid. But if there is a will, there is a way. You could load FontoXPath, find all Kind regards, Martin |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
SVG games using XQUF
I have implemented a XQUF game engine. Starting with an SVG template, it loads and XML level e.g.
chainlevel1.xmland using an XQUF queryload_xqit appends the level to the SVG. The second argument togame.gameis an object, keys is are event types e.g.clickand the values are XQUF query to be executed when an event is triggered.The games are based on clickmaze's chainreaction and BoxUp games.
I created a pull request for this, is this the right way?
Is it possible to parse an xquery to a java object so the parsed xquery can be reused without re-evaluating the query string or xqueryx element?
I implemented these Xquery games earlier using my fork of declarative4all, where it's possible to use query as a new scripting language: example. Custom XQuery functions were added with xqib would this also be possible with fontoxpath?
looking forward for your comments.
Beta Was this translation helpful? Give feedback.
All reactions