cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simon.mi...@t-online.de (Simon Mieth)
Subject Re: content aggregation + links to used files
Date Mon, 05 Jan 2004 14:08:37 GMT
On Mon, 5 Jan 2004 14:41:09 +0100 (CET)
"Nele Vogel" <vg@sevencs.com> wrote:

> Hello Koen!
> 
> Koen wrote:
> > I think your original approach is correct, but we need
> > to determine why"path" is not returing a value.
> 
> > Just to get things straight: the snippet you mentioned
> > *does* match file(and outputs "following file was
> > added:"), but just the "./@path" is not resolved;
> > correct?
> 
> Unfortunately it *does not* match <file>.
> 
> I don't understand why!
> 
> *WITHOUT* the line "<map:transform
> src="content2page.xsl/>" (in the sitemap snippet) the
> output looks like this:
> 
> <news>
>   <file path="news/news1.xml">
>     <article>
>       [...]
>     </article>
>   </file>
> </news>
> 
> *WITH* line "<map:transform src="content2page.xsl"/>
> neither element <news> nor element <file> is processed
> - they are missing. But I am able to process every element
> inside <article>. There has to be an error in my XSL file!
> 
> Thank you for your help, Koen!
> 
> Nele
> 
Hi Nele,

are you sure there is no namespace on your
root/news-element? Is so, the stylesheet will not match your
elements. You can see this in the "page-source" of your
browser.

Best regards,

Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message