Hello PIotr, I am double posting your message because it is clearly meant for the [EMAIL PROTECTED]
There are some threads already on this at http://marc.theaimsgroup.com/?l=xml-cocoon-users&r=1&w=2 Also why we discourage the use of doc() in xsl, and point to include or cinclude transformer, If you still have questions, plz respond to the [EMAIL PROTECTED], Regards Ard > > > Hi. > I got this problem: I need to generate xml and load it to xsl as > xsl:variable. > Now I'm doing something like this: > <xsl:variable name="filesList" > select="doc('http://localhost:8888/Invoices/getDir/', $someValue))"/> > And I have coresponding match in sitemap.xmap: > <map:match pattern="getDir/**"> > <map:generate type="directory" src="invoices/{1}"/> > <map:serialize type="xml"/> > </map:match> > > Is any possibility to do something like this: > <xsl:variable name="filesList" select="doc('cocoon:/getDir/', > $someValue))"/> > > I'm using Saxon by default. > > Greetings > PIotr > -- > View this message in context: > http://www.nabble.com/loading-document-in-xsl-dynamicly-genera > ted-by-cocoon-tf2780469.html#a7757172 > Sent from the Cocoon - Dev mailing list archive at Nabble.com. > >
