you have to do this in the setup of the serializer in sitemap.xmap. See
the docs for details. Remember if you need some pipelines to use
different settings, you can set up the same serializer class under
different pipeline shortcut names with different configs. You may
be able to do this per-pip
Well, the book was written long before the cvs move was even
thought of - in fact IIRC it was written fairly early even
in the life of 2.0.x (around 2.0.2?) so it is even out of
date with that branch in places. But that is in no way
a knock against the book. It does an excellent job of
explaining
Hi guys,
I'm trying to use the element in my logicsheet (for an
accompanying XSP) to remove the XML declaration (the )
from my output doc. I just put right inside my opening tag.
However, in the processing of the stylesheet itself, this
ProcessingException is thrown:
org.apache.cocoon.Pro
Thanks Geoff,
The book says to get xml-cocoon2 from cvs (if you want to compile it
yourself).
I didn't notice any advice in the book notifying me that I ought to look
on-line at any errata page. That might have helped. Do you have any input to
the authors and or publisher?
Do you know, are there an
You are working with the wrong repository. They were switched around a few
months ago and the soft links between them do not function as they were
supposed to - as a result that repository is stuck in time (and had the
exact build problem you noticed which cropped up right before the name
migratio
I downloaded xml-cocoon2 from cvs to my local file system today. The tip
revision of build.properties that came to my system, (rev 1.15) reads as
follows:
#--
# Cocoon Build Properties
#--
# NOTE: don't modif
We're either looking at different files or you are misunderstanding
something
you're seeing. Which property are you looking at specifically?
Geoff
> -Original Message-
> From: Richard Doust [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 21, 2003 2:52 PM
> To: [EMAIL PROTECTED]
> Subjec
After having unset these exclude properties I tried "build samples" and
starting up "cocoon servlet". I had nothing but problems with the resultant
samples. Almost none of the links worked. I am in the process of rebuilding
after doing a "build clean"...
Very little difference. Almost everything re
In the latest code (tip) that I brought down from cvs today, the exclude
properties are _not_ commented out in the build.properties file. It was
necessary for me to edit this file and comment them out.
Is it the case that I shouldn't be bringing down the tip?
-Original Message-
From: Geoff
to get rid of indentation (blanks and whitespace at the beginning of lines)
in your HTML, setup your html serialier with the "indent" element set to
"no".
Hmm, interesting. Is there a way to get rid of all the spaces between tags?
That would be ideal.
For XSL stylesheets I found xsl:strip-sp
You are right that properties in ant once set are not modified. If you
look carefully the values that depend on any value are commented out in
build.properties - uncommenting them in your local copy will accomplish
exactly what is meant.
Also notice the order in which the properties are read:
It _is_ commented out in the original. To exclude them, copy to
local.build.properties
and _un_comment it there. If you take no action, they are built by default.
Geoff
> -Original Message-
> From: Richard Doust [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 21, 2003 1:38 PM
> To: [EM
I'm not certain I'm right, but I have the sneaking suspicion that the build
the way it's written right now cannot possibly work. As far as I know,
there's no way to unset a property in ant. The "unless" attribute of a
target will not build the target if the property is "set". As far as I can
see, t
The book you're reading is for the previous 2.0.x release of cocoon - you're
using the 2.1 branch so some details like that are going to be out of whack.
There is a status document, and an upgrading guide that might give you some
overview of major changes. The core concepts of the book should be m
I guess my problem is that the samples are not getting built. I tried
modifying the local.build.properties file and comment out the
exclude.webapp.samples property, but since this is defined in subsequently
loaded properties, this clearly doesn't help. I tried changing the value
from true (the defa
Hi.
I've just downloaded (from CVS) the latest code for cocoon (for the first
time) and built it according to some (somewhat) conflicting/confusing
instructions (naming build target webapp). I'm running 'cocoon servlet'
after doing the build. I can open my browser on localhost: and I see the
'W
Sonny Sukumar wrote:
Hi guys,
Does anyone know how to trim out all unnecessary whitespace on HTML and
XML docs coming out of Cocoon pipelines before sending them to the
browser? I'd like to save some bandwidth costs where I can. :-)
Thanks!
Sonny
_
17 matches
Mail list logo