Re: DirectoryGenerator depth attrib (newbie)

2003-03-03 Thread Joerg Heinicke
hi Mark,

Mark Anquoe wrote:
ok I've started pulling my hair out. I am really having problems getting 
the DirectoryGenerator to display anything more than the contents of the 
current directory. I can't seem to get the depth attribute to do anything.
we never had any problem with it.

I modified my just installed sitemap directory matching to look like this:

  map:match pattern=**/
   map:generate src={1} type=directory map:parameter 
name=depth value=3/
   /map:generate
 map:transform src=stylesheets/system/directory2html.xsl/
   map:serialize//map:match

now shouldn't I be seeing 3 levels deep into the directory tree?
does directory2html.xsl not allow for more than one level?
how can I see the sax events being served to the xsl page to know where 
the problem is?
Simply remove the transformer and change the type of the serializer to xml.

Joerg

thanks everyone
mark


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


DirectoryGenerator depth attrib (newbie)

2003-02-14 Thread Mark Anquoe
ok I've started pulling my hair out. I am really having problems getting 
the DirectoryGenerator to display anything more than the contents of the 
current directory. I can't seem to get the depth attribute to do anything.

I modified my just installed sitemap directory matching to look like this:

  map:match pattern=**/
   map:generate src={1} type=directory 
map:parameter name=depth value=3/
   /map:generate
  
   map:transform src=stylesheets/system/directory2html.xsl/
   map:serialize/  
  /map:match

now shouldn't I be seeing 3 levels deep into the directory tree?
does directory2html.xsl not allow for more than one level?
how can I see the sax events being served to the xsl page to know where 
the problem is?

thanks everyone
mark


-
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]