cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: We need step by step instructions for enabling link sampling
Date Fri, 11 Jan 2002 14:39:26 GMT
Stefano Mazzocchi wrote:

> Berin Loritsch wrote:
> 
>>I find this very frustrating when I try to convert a legacy cocoon webapp to use
>>CLI generation.  I have a webapp that I have a requirement to auto-generate a
>>particular store's information.  Unfortunately, the link auto-sampling is not
>>working on that webapp--although it is on other webapps.
>>
> 
> Uh, weird.


Exactly.


<snip/>


> Yeah, that should do it.


But it doesn't :(



> BTW, now that we are discussing sitemap design, shouldn't these views be
> considered 'default'?
> 
> I mean, since the CLI is a built-in feature and since it requires
> particular views, shouldn't we make those implicit?


+10

That way, I won't have to think about it!

While we are on the subject of sitemap design, did you read my response
to your initial post on "Retuning Sitemap Design?".



>>My understanding is that at this point link sampling should work.
>>Do I have to declare the XLink namespace for no other reason than
>>signifying the URI for link generation?
>>
> 
> No. The link serializer works on:
> 
>  - xlink:href="" attribute in the XLink namespace
>  - src="" and href="" attributes on the default namespace


and background="" attributes (according to the code).

I will attempt to add in explicit xlink:href="" attributes, and see
if that gets me anywhere.



> so as long as you are using those attributes to indicate the
> hyperlink/inclusion semantics, you are fine.


I am using the src/href attributes in the default namespace, but it
still doesn't work.




-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


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


Mime
View raw message