Recursive descent: typeswitch v. XSL's apply-templates (& xsl:template/@match), was Re: [MarkLogic Dev General] Quirks of generating xhtml with xquery

Robert Koberg rob at koberg.com
Thu Aug 28 11:08:47 PDT 2008


On Aug 28, 2008, at 1:43 PM, Jason Hunter wrote:
>
> You may or may not like recursive descent as a style.  Our point of  
> view on the MarkMail team is that XQuery with recursive descent lets  
> us do everything XSLT would, and it gets the job done really fast.

I am sure that is true for highly structured documents like email. But  
say you have complex document schema similar to docbook (or even 25%  
of its complexity) and you want to convert that to XHTML, would that  
still hold true? Would the XQuery be maintainable?

I'd be curious if there have been discussions and what the results  
where regarding incorporating XSL in the MarkLogic DB. Is this  
something we can look forward to?

Don't get me wrong, I really like XQuery and think the MarkLogic DB is  
a great product. I would like to see it even better!

best,
-Rob


More information about the General mailing list