Cool, I think i get it..It does make a big difference when you dont have to use xquery functions to modify... When We can do some complex XSLTs... and use it within mark logic... i guess it just makes sence this way.. Vasu
On Fri, Sep 7, 2012 at 4:22 PM, Michael Kay <[email protected]> wrote: > > Yes. I saw that If I write an XSLT stylesheet, then I can call that from >> marklogic and it all works good... >> I am not too sure, if XSLT is a good approach or if Xquery is a better >> way of doing things? >> >> Generally, XQuery is better than XSLT for extracting specific > information out of an XML document, and XSLT is better at making small > changes to a document while leaving most of the content unchanged. Or to > put it another way, XQuery is better at query and XSLT is better at > transformation. (XQuery Update is an alternative, though, if available). > > Michael Kay > Saxonica > ______________________________**_________________ > [email protected] > http://x-query.com/mailman/**listinfo/talk<http://x-query.com/mailman/listinfo/talk> >
_______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
