Dynamic @href value for p:document?

  Hi,

  I don't feel this list is the best one for this question, because I
guess what I'd like to achieve is possible with the current WD, but I
don't think there is any general-purpose XProc list yet.  And in case
this is not possible with the WD...

  I have document URIs in an XML document, and I would like to apply a
stylesheet over each one.  Something like the following (except that
p:document/@href doesn't accept an AVT):

    <!--
       Try to apply a stylesheet on each document referenced by
       matrix/@href.
    -->
    <p:for-each>
       <p:iteration-source select="//matrix"/>
       <p:xslt>
	  <p:input port="source">
	     <p:document href="{ @href }"/>
	  </p:input>
	  <p:input port="stylesheet">
	     ...

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Received on Thursday, 30 October 2008 14:22:49 UTC