Hi, I just realized that something doesn't work anymore and I have no clue
why...

<xsl:template match="/">
<root>
 <xsl:value-of select="document('cocoon://mlform')//mlForm/label/desc"/>
</root>
</xsl:template>

and :

 <map:match pattern="mlform">
    <map:generate src="xml/mlForm.xml"/>
    <map:transform src="xsl/copy.xsl"/>
    <map:serialize type="xml"/>
   </map:match>

while this fortunately works :

<xsl:template match="/">
<root>
 <xsl:value-of select="document('../xml/mlForm.xml')//mlForm/label/desc"/>
</root>
</xsl:template>

Maybe because I use 2 different pipelines for cocoon://mlform and the one
where I have my test stylesheet ? Gonna solve it after lunch...

Babs



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to