Usage of cocoo://

2002-10-03 Thread aps olute

Couple of snippet code i'd like to get clarification 

map:match pattern=**/*.html
map:generate src=cocoon:/{1}/index.xml/  this
means
to look for another matcher with pattern of
**/index.xml on this sitemap.xmap correct? 

 map:transform src=cocoon:/xsl-source/
similarly for this, it searches the xsl-source
pattern?


but these following with two /  what are they
matching for? since there are no
pattern=/samples/sub/xsl-source in the sitemap.

map:transform src=cocoon://samples/sub/xsl-source/

map:part src=cocoon://samples/sub/get/simple.xsp/
map:part
src=cocoon://samples/sub1z/get/simple.xsp/

More sample codes with variation is sorely needed for
us newbies.  

__
Do you Yahoo!?
New DSL Internet Access from SBC  Yahoo!
http://sbc.yahoo.com

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




Re: Usage of cocoo://

2002-10-03 Thread Joerg Heinicke

The match is searched in the root sitemap.

http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html (in the 
middle of the page in Aggregating all pseudo protocols are described)

Regards,

Joerg

aps olute wrote:
 Couple of snippet code i'd like to get clarification 
 
 map:match pattern=**/*.html
 map:generate src=cocoon:/{1}/index.xml/  this
 means
 to look for another matcher with pattern of
 **/index.xml on this sitemap.xmap correct? 
 
  map:transform src=cocoon:/xsl-source/
 similarly for this, it searches the xsl-source
 pattern?
 
 
 but these following with two /  what are they
 matching for? since there are no
 pattern=/samples/sub/xsl-source in the sitemap.
 
 map:transform src=cocoon://samples/sub/xsl-source/
 
 map:part src=cocoon://samples/sub/get/simple.xsp/
 map:part
 src=cocoon://samples/sub1z/get/simple.xsp/
 
 More sample codes with variation is sorely needed for
 us newbies. 


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