XSLT support
Thursday, 30 September 2010 · 4 messages
FE
Fabrice Etanchaud30 Sep 2010 11:49 #
Dear all at DBIS,
BaseX is a fantastic tool.
When do you plan to include XSLT support ?
regards
Fabrice Etanchaud
MS
Michael Seiferle30 Sep 2010 12:28 #
Hi Fabrice,
currently there is no XSLT support, but to quote Christian [1]:
Quoted text · Fabrice Etanchaud · 12 lines
Am 09.03.2010 um 11:10 schrieb Christian Grün: > Dear Sebastian, > > currently, BaseX offers no extra XSLT implementation, but we know that > some users have applied the Java 1.5 XSLT implementation to transform > XML nodes from our database. As an indication, all Item instances > offer a java() method which converts nodes to Java data types (e.g. > DOM instances). > > Hope this helps, > Christian > ___________________________
So the Item.java() methods might be worth a look to transform database nodes. Feel free to ask more.
Kind regards
Michael
[1] https://mailman.uni-konstanz.de/pipermail/basex-talk/2010-March/000119.html
Quoted text · Fabrice Etanchaud · 11 lines
Am 30.09.2010 um 11:49 schrieb Fabrice Etanchaud: > Dear all at DBIS, > BaseX is a fantastic tool. > When do you plan to include XSLT support ? > > regards > Fabrice Etanchaud > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
FE
Fabrice Etanchaud30 Sep 2010 12:45 #
Thank your dear Michael, for your reply.
Sorry, I missed a context for my request :
When do you plan to include XSLT support in XQUERY ?
For me, a basex function like 'basex:xslt($xslt_path as xs:string, $in as xs:node()) as xs:node() would be perfect stuff.
Quoted text · Michael Seiferle · 36 lines
-----Original Message----- From: Michael Seiferle [mailto:michael.seiferle at uni-konstanz.de] Sent: jeudi 30 septembre 2010 12:28 To: Fabrice Etanchaud Cc: basex-talk at mailman.uni-konstanz.de Subject: Re: [basex-talk] XSLT support Hi Fabrice, currently there is no XSLT support, but to quote Christian [1]: Am 09.03.2010 um 11:10 schrieb Christian Grün: > Dear Sebastian, > > currently, BaseX offers no extra XSLT implementation, but we know that > some users have applied the Java 1.5 XSLT implementation to transform > XML nodes from our database. As an indication, all Item instances > offer a java() method which converts nodes to Java data types (e.g. > DOM instances). > > Hope this helps, > Christian > ___________________________ So the Item.java() methods might be worth a look to transform database nodes. Feel free to ask more. Kind regards Michael [1] https://mailman.uni-konstanz.de/pipermail/basex-talk/2010-March/000119.html Am 30.09.2010 um 11:49 schrieb Fabrice Etanchaud: > Dear all at DBIS, > BaseX is a fantastic tool. > When do you plan to include XSLT support ? > > regards > Fabrice Etanchaud > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
MS
Michael Seiferle30 Sep 2010 13:01 #
Hi Fabrice,
sorry for not being too specific on this one, our TODO list is kind of lengthy as usual. As XSLT is asked for every now then we are aware that some of our users would like to see an implementation. I guess I'll pass this question on to the list, so others can join the discussion.
Your approach via basex:xslt() sounds quite reasonable - we will discuss this but please don't expect any miracles soon ;-)
For now it would be the best to stick with our API and live with the overhead you get with XSLT-transforming intermediate results. I hope this is not too much of a show-stopper.
Kind regards
Michael
Quoted text · Fabrice Etanchaud · 58 lines
Am 30.09.2010 um 12:45 schrieb Fabrice Etanchaud: > Thank your dear Michael, for your reply. > Sorry, I missed a context for my request : > When do you plan to include XSLT support in XQUERY ? > For me, a basex function like 'basex:xslt($xslt_path as xs:string, $in as xs:node()) as xs:node() would be perfect stuff. > > > > -----Original Message----- > From: Michael Seiferle [mailto:michael.seiferle at uni-konstanz.de] > Sent: jeudi 30 septembre 2010 12:28 > To: Fabrice Etanchaud > Cc: basex-talk at mailman.uni-konstanz.de > Subject: Re: [basex-talk] XSLT support > > Hi Fabrice, > > currently there is no XSLT support, but to quote Christian [1]: > > Am 09.03.2010 um 11:10 schrieb Christian Grün: > >> Dear Sebastian, >> >> currently, BaseX offers no extra XSLT implementation, but we know that >> some users have applied the Java 1.5 XSLT implementation to transform >> XML nodes from our database. As an indication, all Item instances >> offer a java() method which converts nodes to Java data types (e.g. >> DOM instances). >> >> Hope this helps, >> Christian >> ___________________________ > > So the Item.java() methods might be worth a look to transform database nodes. > Feel free to ask more. > > Kind regards > Michael > > [1] https://mailman.uni-konstanz.de/pipermail/basex-talk/2010-March/000119.html > > Am 30.09.2010 um 11:49 schrieb Fabrice Etanchaud: > >> Dear all at DBIS, >> BaseX is a fantastic tool. >> When do you plan to include XSLT support ? >> >> regards >> Fabrice Etanchaud >> _______________________________________________ >> BaseX-Talk mailing list >> BaseX-Talk at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Written for BaseX 6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery