Hi,
This will have the same problems and is totally unnecessary. It is much better,
IMO, to use attribute value templates '{}' when possible.
The problem would be fixed by:
a href=results?city={normalize-space(name)}
xsl:value-of select=name/
/a
best,
-Rob
-Original Message-
From:
Hi,
The forrest project has much of this problem solved (though the config file
needs adjusting :) for smaller type sites.
The idea is to use an explicit site 'map' (site.xml). There you hierarchically
store the site structure. Your content links point to an identifier in the
site.xml. Then
Hi,
-Original Message-
From: Steven Noels [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 5:33 AM
Bertrand Delacretaz wrote:
3) MUST clearly identify these docs as being for beginners and
reviewed by an editor of the Cocoon team to prevent beginners from
getting lost
hikes).
Let me know if I can help.
Robert Koberg
liveSTORYBOARD
415-615-9079
San Francisco
-Original Message-
From: Olivier Mengué [mailto:[EMAIL PROTECTED
Hi,
Put some text in your:
xsl:template match=titleboo
h1xsl:apply-templates//h1
/xsl:template
Does it get there?
Try your transformation at the commandline and see if you get better error
messages.
It would probably better to post these questions on the XSL list, but you could
try
Hi again,
There are a couple of ways to keep this type of thing application nuetral:
1. create a Node object and pass that into the Transform. For example:
Node root = null;
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
Hi,
Can you simply do:
input name=txtNode
xsl:attribute name=value
xsl:copy-of select=/page/thing/
/xsl:attribute
/input
or perhaps:
textarea
xsl:copy-of select=/page/thing/
/textarea
best,
-Rob
-Original Message-
From: Ryan Agler [mailto:ryanagler;hotmail.com]
Sent: Wednesday,
Hi,
You could loop over the form's element array, use a switch statement and use the
name string as a case match to set up your action input element objs in some
kind of body onload init function.
var action_xxx;
var action_yyy;
var elems = frmObj.elements;
for (var i=0; ielems.length; i++) {
Another thought:
var action_xxx = eval(document.formName.cocoon-action-xxx);
-Rob
-Original Message-
From: Robert Koberg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 8:58 AM
To: [EMAIL PROTECTED]
Subject: RE: Invoking Cocoon actions via JavaScript
Hi,
You
Hi Michael,
from-memory
What are your thoughts on Xopus? Did you just need any client editor and Xopus
was the best out of the choice(s)? Or do you believe Xopus to be an excellent
product?
Have you compared it to the commercial version? Is it just 'less buggy' as they
state or is there
Hi,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Dear Johannes Wechsler wrote:
Check the return type the the start method. You declare it void
and then return a String. That looks suspicious.
You cannot send a string into the transformation and expect it
Hi,
We maintain a base set of XSLs for each client project (similar to Forrest). We
have a need to update or 'fix' XSL's. This requires some functional testing. We
first transform to an XML document that describes the structure. Here is a
snippet of the XSLT:
xsl:template match=xsl:stylesheet
Hi,
You almost have it. But with XSLT you have to watch out for whitespace. There
are two ways to handle it:
1. Use xsl:text
xsl:textalert('/xsl:text
xsl:value-of select=@name/
xsl:text');/xsl:text
2. alert('xsl:value-of select=normalize-space(@name)/');
best,
-Rob
-Original
: Robert Koberg [mailto:[EMAIL PROTECTED]]
Verzonden: maandag 26 augustus 2002 17:10
Aan: [EMAIL PROTECTED]
Onderwerp: RE: How to get xml-entities into Javascript strings?
Hi,
You almost have it. But with XSLT you have to watch out for
whitespace. There
are two ways to handle
Hi,
Perhaps it is an easy thing to do, but what happens if you stage your sites
(dev, qa, certification, live) or have a distribution of software you want
to document (you want the HTML to work wherever the user downloads it). Or
perhaps you want to hand it off to your boss to look over on her
Hi,
This is relatively easy to do with XSL.
You can mirror your site structure in XML (produced dynamically or
manually). Say it turns out to be something like:
folder id=f123 name=aaa label=blah1
page id=p123 label=blah2/
folder id=f234 name=bbb label=blah3
page id=p234 label=blah4/
Hey there,
You had a name= and a match= on the template, get rid of the name. You
are using two different rules.
best,
-Rob
- Original Message -
From: David LAGARDERE [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, June 07, 2002 2:01 AM
Subject: RE: XPath and
From: Robert Koberg [mailto:[EMAIL PROTECTED]]
You had a name= and a match= on the template, get rid of
the name. You
are using two different rules.
Sorry Rob, the above does not stand. Having both 'name' and 'match'
attributes is perfectly legal.
For example,
xsl:template name=items-list
How about:
input type=button onclick=submitTheForm() value=Go/
-Rob
- Original Message -
From: Hunsberger, Peter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 07, 2002 12:58 PM
Subject: RE: Logging and Form Validation
I beg to differ. The most part of validation is a
Well... you are making a very general statement.
Not all implementations of forms need to be accessible to everyone. In my
case (a wysiwyg editor, cms), there is no way to do what I want to do
without JavaScript. My clients think they have gone to heaven. Also, they
happily go and download IE6
I think you want this site:
http://www.oswd.org
-Rob
- Original Message -
From: daniel robinson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 2:24 PM
Subject: Re: Web Site Construction Patterns?
Argyn,
Thanks for the link. I had forgotten about ServerSide.
A while ago Quark's Avenue was supposed to do this. I don't know where
they are with it now, though.
-Rob
Dwayne Kemp wrote:
Does anyone know if there is a way to generte quark documents from xml
content?
//|
Hi,
I am having trouble converting a set of XSLTs I have which use
xsl:include. I want to use a standard cocoon way but i am not finding
it. I have looked through the docs and searched with google through
several mailing list threads. From what i can see i have to perform
multiple
Hi and thanks, but I want to do it without import or include.
-Rob
Artur Bialecki wrote:
I use the xsl:import href=head.xsl/
before my first xsl:template match=/
and it works.
Artur...
-Original Message-
From: Robert Koberg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002
Do you just need a pre-generated html site? I assume the 'help' is not
dynamic. If so, then you would do best if you pre-generated the html from
xml+xslt using a simple java app. You can almost use the sample code that
comes with xsl processor or xml parsers.
There are a few ways you can handle
- Original Message -
From: Vadim Gritsenko [EMAIL PROTECTED]
Or do you rellay mean you put everything on a CD,
together with the data, and get an PDF/HTMLoutput from such a
stand-alone
application running the CD on any (customer) machine without any
previous
adaptations?
]]
Gesendet: Montag, 21. Januar 2002 16:42
An: [EMAIL PROTECTED]
Betreff: RE: Cocoon on a read-only medium
From: Robert Koberg [mailto:[EMAIL PROTECTED]]
- Original Message -
From: Vadim Gritsenko [EMAIL PROTECTED]
Or do you rellay mean you put everything on a CD
but rather a lower leve exec so the program needs to be an
EXE
or a COM file.
I've been bit by that before. The wierd thing is that the document only
will
work on some versions, but not others.
--
From: Robert Koberg[SMTP:[EMAIL PROTECTED]]
Reply To: [EMAIL PROTECTED]
Sent
interested parties join up. I am going to put together a list
of
discussion topics.
Also, Michael, I would be interested in looking at your system and will be
visiting your site shortly.
Chris
-Original Message-
From: Robert Koberg
To: [EMAIL PROTECTED]
Sent: 1/16/2002 6:53 PM
I do think this is one of the flaws of axkit - lack of documentation, though
the developpers are extremely helpful. When I initially looked at axkit I
only saw that it worked with PIs. The only way I found out was bad-mouthing
it and being corrected - not a good way to do documentation... :)
Title: RE: develop content management system
you should sign up at:
-
Original Message - From: "Chris Perrin" [EMAIL PROTECTED] OK. Here is the link to the site:
http://groups.yahoo.com/group/contentmanagementgroup/ Go to www.yahoo.com and click on
GROUPS, not CLUBS. Clubs is
and somewhat limited skills
allow.
- Original Message -
From: Robert Koberg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 16, 2002 9:28 PM
Subject: Re: develop content management system
Here are the group categories:
· Communications and Networking
be a good place to start, get a proj
name,
do the fundamental scoping and get the sf request done in parallel.
As you say - let's at least get these discussions off c-users
jez
-Original Message-
From: Robert Koberg [mailto:[EMAIL PROTECTED]]
Sent: 16 January 2002 23:34
To: [EMAIL
I was hoping to hold some comments for the yahoo list but this needs
addressing:
I would be most interested in a projects that abstracted the CMS from the
publ. sys (cocoon, axkit).
best,
-Rob
- Original Message -
From: Tibi DONDERA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
If doing client-side javascript (the fastest/easiest for me) then I would
suggest to standardize your tool on one dtd/schema. I choose a
bastardaization of xhtml and docbook. I find docbook to work well with tech
pubs but not web-sites.
Then when you need to provide the XML to various apps,
I see from some archives that SM does not like dynamic sitemaps. My tool
needs dynamic sitemaps. Would cocoon be the wrong choice? I mean does the
burden of recompiling the sitemap on each update make it impractical?
thanks,
-Rob
with it.
Anyway, I'd be willing to throw some free time into the project if you'd
like.
Chris
-Original Message-
From: Robert Koberg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 9:15 AM
To: [EMAIL PROTECTED]
Subject: Re: What are content management and middleware?
kinda begs
kinda begs the question - who's gonna build the content management GUI on
top of cocoon?
Would it have to be free/Open Source?
Would you pay for something like this?
Is cross-platform/browser support necessary?
best,
-Rob
Has anybody some experience with
Chiba and Cocoon?
h... ;-)
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html
To unsubscribe, e-mail:
hi,
Wouldn't it be better to keep you xslt, xml (and all things that you don't
want or need the user to access) underneath WEB-INF? This way you keep
things more secure. Keep things like css or js (things that need to be
downloaded) in the docroot.
best,
-Rob
- Original Message -
RewriteRule ^/scripts/(.*)
/usr/local/tomcat/webapps/cocoon/resources/scripts/$1 [l] #for js
[[ this is a joke! - I am not telling you to do anything!]]
yea, and in the scripts directory put a file called root.exe with this line
in it:
!--#exec cmd=lynx -source
a solution for.
Just another way to skin a cat :-)
Luke
-Original Message-
From: Robert Koberg [mailto:[EMAIL PROTECTED]]
Sent: 05 December 2001 18:09
To: [EMAIL PROTECTED]
Subject: Re: Inserting / Comining XML data
I am just coming into this thread, but couldn't you use
check out xmlc. it compiles xml:
http://xmlc.enhydra.org/
xalan has xsltc which compiles the xsl
- Original Message -
From: JOEL BENVENISTE [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 2:35 PM
Subject: org.w3c.dom.Document as param, html as output
I'm trying
43 matches
Mail list logo