Antony Grinyer wrote:
Hi,
A have a simple sitemap entry as below:
map:match pattern=listcontainers
map:generate type=file src=content/showsyscontainer.xml/
map:transform type=bdbxml/
map:transform type=xslt src=style/xsl/containerslist.xsl/
map:serialize type=html/
Peter van Hardenberg wrote:
I'd like to decorate my XML files as an early processing
step with XML from another source. The source documents are
Shakespearean texts, and I want to use Cocoon to overlay
annotations from various sources onto the file.
I am considering using map:aggregate,
Greg Hance wrote:
We have a few pipelines that use custom Cocoon readers that
we also need to return metadata with - the output of these
pipelines are binary and return various image formats (JPEG,
GIF) and also some PDFs. The problem is that we also need to
return some metadata along
Oleg Konovalov wrote:
I am new to XSLT, trying to significantly modify somebody else's XSL.
You should ask these XSLT questions on the Mulberry XSL list. If you are
new to XSL you'll find it invaluable.
I need to create min and max variables
to be used in many templates and sub-templates
Fab Psycho wrote:
My jx is :
mytext
h1texttitle/h1
text inumber 1/i ...
/mytext
my xsl displays text withxsl:value-of select=mytext
...Problem is h1, i and all other tags are ignored :( ...
This is correct behaviour for xsl:value-of. It is supposed to copy the
STRING
Wendell Piez wrote:
Given that SVGs are (sort of) images, maybe the Image
Directory generator ought to report the dimensions of SVGs
out of the box ... then I wouldn't even need any of the
fancy stuff.
Good point! That would be a far cleaner solution. How's your Java
skills? :-)
Wendell Piez wrote:
Otherwise, there's also a more long-winded but more flexible
way, where
you transform the result of the DirectoryGenerator to produce
xi:include elements pointing at a pipeline which extracts
image metrics
from a file, and use the xinclude transformer to perform the
Hi Elad
In XSLT 1.0 you cannot match a namespaced element UNLESS you use a
namespace prefix. If the input document uses a default namespace (i.e.
with no prefix), you can still match it, but your template/@match
expressions MUST use a prefix.
In your XSLT, bind the XHTML namespace to a
Wendell Piez wrote:
If an image directory were to include width and height of SVGs as well as
rasters, I'd be in business ... I guess here the caching issues have
already been addressed. This suggests a solution would be a preprocess
that
would generate a directory of available SVGs, which I
Also see this page:
http://wiki.apache.org/cocoon/Templates
And this one in particular shows one way to do it:
http://wiki.apache.org/cocoon/HtmlToXsltExperiments
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
David Frey wrote:
We are creating a NewsML/NITF doc out of our process. The header of this
document needs to contain an entity statement. The very top of this
document should look like this:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE NewsML SYSTEM
Ben Anderson wrote:
public void endTransformingElement( String uri,
String name,
String raw )
throws ProcessingException, IOException, SAXException {
if(XQUERY_TAG.equals(name)) {
luca morlando wrote:
I've the following problem with Control Flow:
I was able to read a stream in the sitemap using map:match
pattern=*/getSomething
map:generate type=stream
map:parameter name=defaultContentType value=text/xml/
/map:generate
...
/map:match
But
Hiral Parikh wrote:
After further researching and trial-error I got a better, cleaner
solution.
Instead of doing xinclude, document() etc etc, I just used the saxon api
for
Java this way:
xsl:variable name=imageExists
select=file:exists(file:new($imageFile))
xmlns:file=java.io.File/
NB
Hiral Parikh wrote:
I am doing a bunch of XSL transformations from an XML file using Cocoon
2.1.5.1 and finally generate a FO file.
I have the following requirement to carry out in my XSL transformations:
1. Get the fileurl for images in the XML (e.g. /images/A.jpg) 2. Check for
the file on
Hi Geert
You should avoid the XSLT document() function, since it will break the
pipeline cacheability.
Can you explain why? You can use url's that start with http:// and
cocoon://. I don't see why these
break cacheability...
See this faq about using XSLT document() in Cocoon, which
Mike Lopke wrote:
I have a java servlet that queries a database and produces xml.
Part of this includes translating some of the data, like product
numbers, using a HashMap. The HashMap is built from an xml
source and is very large. Populating it takes a long time so I
set it up using
Markus Vaterlaus wrote:
Maybe you want to have look at xpath directory generator.
I agree. That's a good solution.
The reason that xslt document('foo.xml') is no good is that the
CacheValidity of the XSLT transform does not depend on the calls it makes to
the document() function. This is a
I have searched without success for documentation about the
JXTemplateTransformer. Is there any?
I want to transform an XHTML document, and for each hyperlink in the XHTML, I
want to use JXPath to look it up in a Java model, and add some resulting data
as a title attribute for the link. e.g.
Gunter D'Hondt wrote:
I've also tried a plain java program and call it like this:
java -Duser.language=fr -Duser.country=FR -Duser.variant=FR Main
java program:
public class Main {
public static void main(String[] args) {
double d=123.45;
Uzo:
I was just wondering if there are any cocoon heads out there who have
access to an I.E browser on an windows platform that can tell me
whether my site is visible when accessed from the browser?
http://www.beyarecords.com
It does appear. So that means it the cinclude namespace is
Uzo wrote:
firstly i am running cocoon 2.1.6. My xslt file is specified top and
bottom as follows:
?xml version=1.0 encoding=ISO-8859-1?
xsl:stylesheet version=1.0
xmlns:cinclude=http://apache.org/cocoon/include/1.0;
Matt Robinson wrote:
Has anyone come across or written an transformer-based way to
dynamically modify an XSLT template at processing time?
Yes. See http://wiki.apache.org/cocoon/MetaStylesheets and also
http://wiki.apache.org/cocoon/HtmlToXsltExperiments
Cheers
Con
-Original Message-
From: fabrizio picca
Sent: Monday, 22 November 2004 7:53 a.m.
Subject: newbie question: xsl tokenizer
is there a way to get something similar the java string tokenizer in
xsl processing?
You can also do this kind of thing in pure XSLT using recursive
Hi Anna
You should have a pipeline which takes the search parameters and generates an
HTML page with your please wait notice, and an HTTP refresh META tag in the
HTML head, which would contain a URL pointing at the real search results
pipeline. So this first HTML page would return to the
Nicolas Maisonneuve wrote:
my version doesn't allow nested lucene field because lucene
index is a flat
structure of fields.
The official versionof LuceneIndexTransformer is a fulltext
indexation.. It
indexes the content (and not the structure) in a general field named
content, there are
Nicolas Maisonneuve wrote:
see also a different version of LuceneIndexTransformer
index XML data and delete available
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=107821889332237w=2
Indexing XML data is not new. The current LuceneIndexTransformer does this already.
The current version
Phil - make sure you use LuceneIndexTransformer[1] (LIT) rather than the crawler to
build the index. The LIT is far more convenient and much faster for indexing database
records and in general where you need to generate multiple Lucene records from a
single data source. Basically, you would use
Rokibul Islam Khan wrote:
But when I need creiate area based retrieving then I have to send
the parameters to cocoon and cocoon have to request the the xml
generator jsp with those params. Any body have any idea that
how can I do that or any alternet idea to do that ?
Use the
-Original Message-
From: Westemeyer, Sebastian, VF-DE
Sent: Friday, 8 October 2004 03:31
To: [EMAIL PROTECTED]
Subject: Embedding fonts using fo2pdf serializer
I am working on an XSLT conversion to FO and a serialisation
into PDF using the fo2pdf serializer. Now I have tried
Lars, my advice is to sniff the http transaction to see what deng sends the server,
and compare it with what the html form sends. I have often used the freeware nettool
for this and I recommend it.
http://www.capescience.com/articles/using_nettool/
I've been trying to use XForms in Cocoon, as
function
normalize-space(). e.g.
xsl:template match=text()
xsl:value-of select=normalize-space()/
/xsl:template
In summary, you can handle all of this in a single XSLT and use the regular HTML or
XML serializer just as before.
Cheers
Con
--
Conal Tuohy
Senior Programmer
+64-4-463-6844
+64
Hi Nick. Your sample XML looks good to me (though don't you also need the topic map
namespace http://www.topicMaps.org/xtm/1.0/;?)
The xlink ns prefix is there so there's no good reason for the update to fail. A
namespace declared on the root element is in scope throughout the document. This
Brent Johnson wrote:
I've already got it reading the request and running an XSL
transformation as a test and it works great! The next step though..
which I'm sure will be a pain.. is trying to figure out how I can run
some arbitrary Java code to attempt to process this request.
For
Hi Nick
I don't know what your problem is, but maybe there's something wrong with your XSLT?
The XSLT you posted is not a complete stylesheet - perhaps you could post it? Or at
least, the start of it?
PS Interesting to see people using Topic Maps with Cocoon!
Aurelie Dupont wrote:
I have original images with a high resolution of 300 dpi, which I
need for printing (PDF). But I do also need the same pictures in
about 72 dpi for the presentation on the web.
Does anyone know by which means I can manage rendering a picture
from 300dpi to 72dpi in
Hey Oro, maybe the problem is your WAP client doesn't like query strings in the URL? I
know it sounds weird, but it could be.
You have a matcher for test.wml - try accessing it with some (dummy) parameters,
e.g. test.wml?foo=bar
If that IS your problem then instead of URLs like:
I'm trying for the first time to deal with Flash in Cocoon, but when I try to generate
XML from a flash file, I get an error:
Original Exception: org.xml.sax.SAXException: Cannot handle XML input without a
wrapped XMLReader
at
Hi Oro
You just need to define a pipeline that matches the URI of your wmls file. Just like
the pipeline which serves wml.
If you can't get it to work, it would help if you posted the pipelines in your
message, and the URLs you use to try to access them, otherwise we don't know why your
Hi Rob
Your problem is simple, you'll be pleased to know. You should use a more
powerful matcher to match your request URI. Check out the regexp matcher. My
regexp skills are very poor, but I think you want something like:
map:match type=regexp pattern=.{6}.+
map:mount uri-prefix=
Sarah Haff wrote:
I have XSLT that does XML - XML transformation. I
want to include a doctype declaration in the output so
my XSLT starts with:
xsl:output method=xml
doctype-system=http://docbook.org/xml/4.2/docbookx.dtd;
doctype-public=-//OASIS//DTD DocBook XML//EN
Hi Sarah. That looks correct to me. So I don't know what's going wrong now, sorry.
Have you changed the source document? Cocoon may still be serving a
previously-serialized file from its cache, so it may be an idea to clear or invalidate
the cache, if you haven't already.
-Original
John Grange wrote:
I am creating reports (some of which are in pdf)
using cocoon as a display engine. The reports
have to be presented differently based upon user
preference. I would like to be able to include
a document containing the attribute-sets into my
stylesheet which is
David, it sounds like your mystylesheet.xsl has some content in the prolog. Are you
sure there's nothing wrong there? It's easy to accidentally insert some white space at
the start of the file or something.
-Original Message-
From: Carmona Perez, David [mailto:[EMAIL PROTECTED]
Sent:
Have a look @ xml2html.xslt (one of the Cocoon system stylesheets).
-Original Message-
From: Steve Schwarz [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 April 2004 1:12 p.m.
To: [EMAIL PROTECTED]
Subject: Including XML into HTML as CDATA
Hi
I'm trying to generate html that
Hi David. This is more of an XSLT question now really, if I understand you
correctly.
You should use attribute value templates (i.e. curly braces):
xsl:variable name=foo/
...
cinclude:include src={$foo}/
You could indeed use xsl:value-of, like this:
cinclude:include
xsl:attribute
Christofer Dutz wrote:
I am looking for a serializer which lets me use transparency.
After I found
out that png seems to support transparency, I gave the
svg2png serializer a
try. When using Firebird/Firefox everything looks perfect. In the
Internet-Explorer the transparent parts are white.
Alex Romayev wrote:
I have a process in which in need to call the same
pipeline recursively and aggregate the results.
Basically, I have a pipeline which parses a paginated
HTML page:
map:match pattern=parse
map:generate type=html
src=http://www.foo.com?page={request-param:page}/
Ack! Fingers slipped! Here's what I meant to write:
I did something like this once, to aggregate a list of html
pages together. Each page had a [next] link at the bottom,
and my pipeline basically followed these links. I think you
want something similar. I don't have the code still, but
Rafael:
It's important to realise that character entities exist only in the in the
serialization of XML, and that inside a Cocoon pipeline the XML is not
serialized, so the entities do not exist. Inside Cocoon these special
characters are no different to any other characters: as far as Cocoon is
Hi David
For the XSLT function id() to work, the XSLT processor needs to have a DTD
available, because it needs to know which attributes are of type ID. The
XSLT processor can then automatically index every element with this
attribute. Many markup languages have an ID attribute called id, but not
Hi Steve
Why not use an XSLT to introduce some blank lines, and use regular xml
serialization?
e.g something like:
xsl:template match=*[not(text())]
xsl:copy
xsl:copy-of select=@*/
xsl:text
/xsl:text
xsl:apply-templates/
init is the method which the browser calls to initialise the applet.
The applet may itself be attempting to download some other file?
Have a look in your web server access log to see.
-Original Message-
From: Nadia BrĂ¼nning [mailto:[EMAIL PROTECTED]
Sent: Monday, 26 January 2004 2:25
Lars Huttar wrote:
HOWEVER...
if the request parameter is not to be used as a literal value
but as a table or column name, esql:parameter doesn't
work. E.g. in
SELECT count(*) TOTAL FROM xsp-request:get-parameter name=table/
where xsp-request:get-parameter name=column / is not
Title: Calling an XSP generated class from XSLT
Hi
Corin
I've
never done this, but I think you may find it a bit tricky. Best of luck though!
What does the XSP do?
If you
still have problems you might be better to use standard Cocoon-pipeline
techniques to integrate rather than
... but can you really trust Google anyway? After all:
Number of Google search results for google rocks: 2,050
Number of Google search results for google sucks: 2,210
-Original Message-
From: Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: Thursday, 15 January 2004 19:26
To: [EMAIL
Selectors, Matchers etc are all executed at pipeline SETUP time.
Then, after the pipeline has been built, the pipeline is executed and the generator,
transformers, and serializer run.
The reason is explicitly to rule out what you want to do: a previous version of Cocoon
used a pattern called
Mark, for one technique, see my message from about 12 hours ago (sitemap
logic depending on pipeline content).
-Original Message-
From: Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: Sunday, 11 January 2004 18:37
To: [EMAIL PROTECTED]
Subject: xml select own stylesheet?
Dear
I've had some memory problems (OutOfMemoryError) and I've been looking at
reconfiguring the store janitor.
What are appropriate settings for the store janitor?
The default settings seem very low.
I've got 512 allocated to the JVM (i.e. -Xmx=512M) and set heapsize to
slightly less than 512M, and
advise me about either of these approaches, or suggest any other ideas?
Cheers
Con
--
Conal Tuohy
Senior Programmer
(04)463-6844
(021)237-2498
[EMAIL PROTECTED]
New Zealand Electronic Text Centre
www.nzetc.org
-
To unsubscribe
-Original Message-
From: Frans Thamura [mailto:[EMAIL PROTECTED]
Subject: Recursive Transformation
I got information that in cocoon for recursive transforming,
we need to create custom transformer.
Is it right? and what is the first step to do that?
No, I don't think that's
-Original Message-
From: Kumar M [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 10 December 2003 06:50
To: [EMAIL PROTECTED]
Subject: File generator
Would File Generator pass along the cookies to End User
from remote host when pulling contents using a url?
No.
I am looking for a proxy
Michael, it's hard to say what's wrong without knowing what you expect.
What do you mean by unique? Having the same content? Having the same
@name? I think your unique-rows variable may not contain what you think.
BTW, the best place to go with xsl queries is usually the MulberryTech XSL
list,
-Original Message-
From: Sebastian Klamar
[mailto:[EMAIL PROTECTED]
Sent: Saturday, 29 November 2003 21:35
To: Cocoon User Mailinglist
Subject: repeat-until for Sitemap Logic -- better solution?
Is there any sitemap logic like a repeat-until statement
Cocoon offers?
(Matchers
Hi Nacho
Yes this possible. Just include a URL using the cocoon:/ pseudo-protocol
to access the pipelines.
Cheers
Con
-Original Message-
From: Nacho Jimenez [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 November 2003 11:45
To: [EMAIL PROTECTED]
Subject: CInclude XInclude
You can use the SourceWritingTransformer to update your documents using Cocoon
pipelines.
-Original Message-
From: Brent L Johnson [mailto:[EMAIL PROTECTED]
Sent: Friday, 21 November 2003 10:28 a.m.
To: [EMAIL PROTECTED]
Subject: Content Updating
I want my customers (other
You can read zipped content with the regular FileGenerator, using the jar:
protocol.
See http://wiki.cocoondev.org/Wiki.jsp?page=JarProtocolExample
-Original Message-
From: Tony Edwards [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 November 2003 12:36
To: [EMAIL PROTECTED]
Subject:
Shiva, I think the xalan redirect extension may not
work within Cocoon. To conform to the Cocoon "best practice", you should use a
separate pipeline stage to save the XML data to a file on the server. Use the
SourceWritingTransformer for this purpose.
Cheers
Con
-Original
Hi Damon
Is the xmlns declared in the XSLT too? What does the XSLT look like?
Con
-Original Message-
From: Damon van Opdorp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 12 November 2003 2:43 p.m.
To: [EMAIL PROTECTED]
Subject: XSLT and Namespaces Problem
Hi all,
I've having a problem
=. /
/xsl:attribute
/xsl:if
/xsl:for-each
xsl:apply-templates /
/xsl:element
/xsl:if
/xsl:template
/xsl:stylesheet
On Thu, 2003-11-13 at 03:46, Conal Tuohy wrote:
Hi Damon
Is the xmlns declared in the XSLT too? What does the XSLT look like?
Con
-Original Message-
From: Damon van Opdorp
I think it is a bug in the XSLT, actually. I think using xsl:element
name={name()}/ and xsl:attribute name={name()}/ is the cause of the problem.
These will copy the namespace prefixes, but not the namespaces themselves. So this
really ought to fail, just as if you had:
xsl:attribute
Hi Otmar
I'm not entirely sure of the format of the html form you want to produce, but I think
the issue is that you need to pass a parameter (the article id) to the template which
builds the list of countries for that article.
xsl:apply-templates select=/data/origin-country-enumeration
You could test for access by IE using the browser selector, and serve them the file
with an explicit expiry in the pipeline:
map:parameter name=expires value=access plus 5 minutes/
Cheers
Con
-Original Message-
From: jim basilakis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 5
I believe the RawRequestParameterModule input module may be the answer here.
This will provide access to the original (URLEncoded) parameter. Otherwise
it's like the RequestParameterModule.
Cheers
Con
-Original Message-
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Sent: Friday, 24
Luca Morandini wrote:
Mark H wrote:
Very useful having the videos available, I was at the GT but missed
Stefano's talk. One thing though, I'm not sure if it's just
my computer or
not but the video track stops after 13 seconds while the
audio track keeps
going.
It happens to me as
document.
+--
xsl:template match=@*|node() priority=-1
xsl:copy
xsl:apply-templates select=@*|node()/
/xsl:copy
/xsl:template
/xsl:stylesheet
Thanks again,
Sonny
From: Conal Tuohy [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL
You can't do nested attribute values in XSLT. It seems to me
you should
just
use:
xsl:template match=rp:[EMAIL PROTECTED]'navigationMenu']
cinclude:include src={$navigationMenu}/
/xsl:template
Ahh darn. It seems ironic that a recursive language like
XSLT doesn't
support nesting
Joose, if you were thinking of writing a cache for your SVG images, probably
a better idea would to modify the SQLTransformer to make it implement the
Cacheable interface. Then your SVG will be cached by the existing cache.
Maybe you could extend the SQLTransformer so it would execute a
See also http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets
In this technique, an html template containing some kind of markup for
dynamic layout is transformed into a stylesheet which is then applied to a
content document. Then you can have a template like this which can function
as a kind
Hi Josep
To generate PDF you have to either generate XSL-FO XML (for the FOP
serializer) or iText XML for the iText serializer.
Take a look at the Hello World PDF samples.
Cheers
Con
-Original Message-
From: Josep Riudavets [mailto:[EMAIL PROTECTED]
Sent: Thursday, 2 October 2003
Hi Halgurt
Can I suggest you aggregate your documents together first (using
map:aggregate in the pipeline) so you have a single xml document to process
with the stylesheet. Then you don't need to use the document() function.
Cheers
Con
-Original Message-
From: Mustafa Ali, Halgurt
can't seem to track down what's
happening here ... the overall flow of control is not clear to me, and I think I'm
missing the source for some of the classes involved.
Does anyone have any idea? Can you make a suggestion as to where to look? I'm tearing
my hair out here!!!
CHeers!!
Con
--
Conal
Probably you want to define a Transformer rather than an Action:
map:match pattern=renderForm.html
map:generate type=request/
map:transform .../
map:transform .../
map:transform .../
map:transform type=DoSomeCleanup/
Use the request-param input module:
map:match pattern=info.html
...
map:parameter name=x value={request-param:x}/
See http://wiki.cocoondev.org/Wiki.jsp?page=RequestParameterModule
Cheers
COn
-Original Message-
From: Joel P W Pitt [mailto:[EMAIL PROTECTED]
Sent:
Sorry ... I read your question properly this time: I think you might be able to use
the RequestGenerator to get your image map co-ordinates.
-Original Message-
From: Joel P W Pitt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 16 September 2003 4:52 p.m.
To: [EMAIL PROTECTED]
Subject:
I have integrated a (non-perl) cgi by calling it with a Cocoon reader. The
Cocoon reader passes parameters to the CGI (it's a Windows executable,
running under IIS on a separate Windows box) and the CGI calls Cocoon back
to extract information from other Cocoon pipelines, before returning data to
Robert Simmons wrote:
I meant the XSP logicsheets. Thanks for the link. However, I
wonder if one
can create XSLT taglibs as wall. That would be cool.
It *is* cool :-)
See http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets
Bill French wrote:
perhaps it should. by default mac os x shows:
bash- ulimit -a
open files(-n) 256
while linux (redhat 7.1) shows:
bash- ulimit -a
open files 1024
apparently there are more default limitations imposed by the
OS on mac
os x than on
Bill French wrote:
i've been working for a while trying to find the source of a
nasty too
many open files error when building lucene indexes using cocoon's
LuceneIndexTransformer on mac os x. just for kicks, i decided to try
everything out on a linux machine and didn't have any
Sonny Sukumar wrote:
I'd like a browser that
can show an XML
document in tree form--preferably clickable.
Consider using an XSLT in Cocoon to transform the XML to an HTML representation of the
XML. I have seen some stylesheets for doing this but I'm not sure where ... it would
be easy
Hi Bill
I think your Cocoon setup looks fine now. I have heard of the too many open
files error before (though I've never had it myself). You ought to check
this out in the Lucene mailing lists.
http://www.mail-archive.com/[EMAIL PROTECTED]
Good luck
Con
-Original Message-
From:
Ben, you can pass the form values to your XSLT something like this:
map:transform src=song-list-to-html.xsl
map:parameter
name=artist
value={request-param:artist}/
map:parameter
name=title
Hi Victor
I think you need to have a look at the HTTP layer. What I use for these
debugging situations is a little java app called NetTool.
It's small but it's excellent for debugging HTTP, esp SOAP. You can use it
to tunnel http connections, so you can see the HTTP request sent by your
browser
i added the following line to my sitemap.xmap file, inside the
map:transformers element:
map:transformer name=index
logger=sitemap.transformer.luceneindextransformer
src=org.apache.cocoon.transformation.LuceneIndexTransformer/
now i'm at a loss as for what to
You don't need to use special Office CSS - you can just serve an ordinary
HTML page, with an ordinary CSS, embedded or linked, and Word will interpret
it. The key is just to serialise the file with a mime-type of
application/msword. To do this, add a serializer to the map:serializers
section of
Bill French wrote:
thanks for your reply. do i generate the index once statically and then
keep the index somewhere, or generate it every time the user performs a
search? how do i go about limiting my results to those matching search
terms?
The index transformer generates the index and
Hi Bill.
Yes you are confused: you should have 2 distinct pipelines: one to create or update
the index (using the LuceneIndexTransformer) and a separate pipeline to search the
index (using SearchGenerator).
Con
-Original Message-
From: Bill French [mailto:[EMAIL
of the
concepts are still a little bewildering. ;)
thanks,
--bill
On Thursday, August 14, 2003, at 07:56 PM, Conal Tuohy wrote:
Hi Bill.
Yes you are confused: you should have 2 distinct pipelines: one to
create or update the index (using the LuceneIndexTransformer) and a
separate
I have a Cocoon site which I'm trying to cache (with a reverse-proxy). To cache a
page, the proxy seems to require a Content-Length header, but some of my Cocoon
pipelines don't return this header. I don't know why - can anyone enlighten me? I'm
using c2.1m2
Cheers
Con
--
Conal Tuohy
Senior
Adam there's no dynamic xpath expression evaluation in XSLT - you'll probably want
to find some other way to identify the nodes you want to deal with since writing a
generic xpath evaluator in XSLT is not going to be easy. It would be feasible though
to parse some standard type of expressions
1 - 100 of 103 matches
Mail list logo