From: Michael B. <mbe...@mb...> - 2007-03-09 09:48:41
|
Albertas Mickenas wrote: > How do i make transformation from > <category refid="123"/> > to > <category refid="123"/>CATEGORY NAME</category> > given i have a document listing all the categories by their refid? > >From the way you are currently approaching this, it's an XSLT question, so not really one for here. Look up the xslt document() function in any reference work. But I suspect you could resolve the references within your XQuery itself before running a transform to XHTML on the output, or indeed generate your XHTML directly in XQuery, with some help from eXist's serializer options, and so not need an XSLT transform pass at all. Michael Beddow |