RE: svgz to jpeg ?

2003-06-29 Thread Conal Tuohy
I think you'll have to write your own GZipGenerator or possibly a GZipSource? You are right that the gzipped svg document is not a ZIP archive (it doesn't include a table of contents or anything - it's just a single BLOB). On the bright side, gzip is trivial to use in Java, so writing your own sho

RE: retaining data from a partial pipeline for subsequent requests

2003-06-18 Thread Conal Tuohy
See the FragmentExtractor system. http://cocoon.apache.org/2.1/userdocs/transformers/extractor-transformer.htm l http://cocoon.apache.org/2.1/userdocs/generators/extractor-generator.html You could just break your pipeline into 3 pipelines, and use the "cocoon" protocol to link them together into a

RE: Building lucene index without crawling?

2003-06-16 Thread Conal Tuohy
Yes it is possible. See the LuceneIndexTransformer: http://wiki.cocoondev.org/Wiki.jsp?page=LuceneIndexTransformer This component is quite new and there's no other documentation for it, but it sounds exactly like what you want. Con > -Original Message- > From: Peter Klotz [mailto:[EMAIL

RE: XML file

2003-06-11 Thread Conal Tuohy
I didn't realise you were debugging the result of a form. To select a view, you have to pass the view name in the URL, e.g. http://localhost/login?cocoon-view=debug-view This is not straightforward with a form. You could add a field called "cocoon-view" to your form, and put "debug-view" in the

RE: XML file

2003-06-11 Thread Conal Tuohy
Try posting the pipeline from your sitemap, so we can see what you have done, and get an idea of what is going wrong. Otherwise we are just guessing. Cheers! Con > -Original Message- > From: Tim Bachta [mailto:[EMAIL PROTECTED] > Sent: Thursday, 12 June 2003 2:44 p.m. > To: [EMAIL PROTE

RE: TeX to PDF serializator

2003-06-11 Thread Conal Tuohy
Roger wrote: > > If your original file is XML and you have an xslt that > converts it into TEX > > text, the output from the xslt is passed as a series of > character sax > > events, so even though it is technically xml/sax events, > since there are no > > elements or attributes, you can easily

RE: XML file

2003-06-11 Thread Conal Tuohy
http://wiki.cocoondev.org/Wiki.jsp?page=DebuggingWithViews > -Original Message- > From: Tim Bachta [mailto:[EMAIL PROTECTED] > Sent: Thursday, 12 June 2003 10:10 a.m. > To: [EMAIL PROTECTED] > Subject: XML file > > > Is there a way/place to view the xml file that is created > from my xs

RE: conditions in xsl

2003-06-10 Thread Conal Tuohy
Hi Tim This question is best asked on the XSL List, rather than Cocoon Users, but here's an answer anyway: Test to see if the report has any preceding reports. Perhaps something like: dlgSwitchSelected ... > -Original Message- > From: Tim Bachta [m

RE: looking for docs for LuceneIndexTransformer

2003-06-09 Thread Conal Tuohy
Conal Tuohy wrote: > I've had some problems with generating a Lucene index using > an XSP based on the sample, and while I was trying to debug > the problems I found the LuceneIndexTransformer which is not > documented anywhere I can see. Can anyone explain how it is &

RE: CSS in Cocoon

2003-06-09 Thread Conal Tuohy
Tim, presumably dialog.xsl is supposed to insert a element into the html, pointing at the stylesheet which is passed as a parameter? But the dialog.xsl appears to expect a parameter called "html.stylesheet", whereas the parameter you are actually passing it (from the sitemap) is called "css-style

RE: Lucene indexing / crawling problem

2003-06-09 Thread Conal Tuohy
> Have you enabled the "link view" for all the pages you want to crawl? > > HTH > > Michael Yes I have ... and a content view ... but even pages from the same pipeline may be crawled or NOT crawled. - To unsubscribe, e-mail: [EM

Lucene indexing / crawling problem

2003-06-08 Thread Conal Tuohy
I'm creating a Lucene index using an XSP based on the sample, but I have a strange problem. Some of the pages are crawled, but some are not crawled, and I can't see why. I have DEBUG logging for the core.search components, so I can see the crawler crawling the site. I can see it read the links

looking for docs for LuceneIndexTransformer

2003-06-08 Thread Conal Tuohy
I've had some problems with generating a Lucene index using an XSP based on the sample, and while I was trying to debug the problems I found the LuceneIndexTransformer which is not documented anywhere I can see. Can anyone explain how it is supposed to work? Thanks Con ---

RE: clear cache problems

2003-06-05 Thread Conal Tuohy
Bertrand Delacretaz wrote: > The best thing if you're not sure about the browser's cache > is to test > without a browser - use wget or telnet to make requests and check the > results. I use NetTool for this. It's an HTTP client with a GUI, but it's not a browser :-) You have control over HTTP

RE: [HELP]The processing instruction target matching "[xX][mM][lL]" is not allowed.

2003-06-03 Thread Conal Tuohy
Hi Paul I bet you have some white space in the file before the xml declaration. The xml declaration must be the FIRST thing - i.e. the < must be the FIRST character in the file. Cheers Con -Original Message- From: Paul Tinzoh [mailto:[EMAIL PROTECTED] Sent: Tuesday, 3 June 2003 09:35 To

RE: jfor encoding problem

2003-06-03 Thread Conal Tuohy
Charlene, it looks to me like your problem is not with jfor, but merely with parsing the XML source file. The parser thinks the French text is encoded as UTF-8, but my guess is that it actually uses ISO-8859-1. You should either open the XML file again and save it in UTF-8 format, or add an encod

RE: Again: "forgotten" namespaces problem

2003-06-03 Thread Conal Tuohy
Andrew C. Oliver wrote: > Why not just add a parameter which removes them or not, big > deal. No reason > for Yet Another Class. Why provide an _option_ for people to output invalid HTML? Seriously, isn't it _always_ a bug to output namespaces in the HTML? What are the use cases for HTML + name

RE: Again: "forgotten" namespaces problem

2003-06-02 Thread Conal Tuohy
I would agree with you Alexander - it's a bug for the HTML Serializer to output other namespaces ... IMHO the HTML Serializer should log an error if you give it any namespace except the XHTML namespace and the null namespace. Post it in bugzilla and someone will fix it (maybe you? :-) Con --

RE: TEI and cocoon

2003-04-05 Thread Conal Tuohy
Warner I have used these stylesheets in Cocoon in part of this website: http://www.nzetc.org/ AFAIK the xsl:output tag is not a problem - in Cocoon the serialization is controlled by the sitemap (the map:serialize element), so the xsl:output directive in the stylesheets is ignored. I've used them

RE: Xpath translate...

2003-03-30 Thread Conal Tuohy
Hi João, one pattern I've used in this situation is to assemble the query URL in XSLT, rather than in the sitemap. First, you use the RequestGenerator to produce an XML document describing the query. Second, your XSLT transforms this document into an Xinclude statement containing the new query UR

RE: Problems basic-link in xsl-fo

2003-03-19 Thread Conal Tuohy
Jessica Niewint wrote: > I got a problem to insert a external link to my xsl file with > . TEST You are missing the "http://"; from the start of the URL. Otherwise I believe FOP will assume a "file:/" protocol? Cheers! Con ---

RE: svg2jpeg output not equal on different machines

2003-03-18 Thread Conal Tuohy
Christian Hoofe wrote: > My problem is that the generated jpeg are not same on > different machines. The > generated font under Linux is greater than 14 points. I tried > this with Cocoon > 2.0.4 under j2sdk1.3.1 and j2sdk1.4.1. > > Win98, Sun j2sdk1.3.1 and j2sdk1.4.1 > Suse 7.2, Blackdown j2sdk1

RE: Creating an aggregation from a list of files

2003-03-17 Thread Conal Tuohy
Hi David Note that you can use the Zip Archive Serializer to generate the entire IMS package - you don't need to generate static files and zip them in some later stage; it can all be done in Cocoon. http://xml.apache.org/cocoon/userdocs/serializers/ziparchive-serializer.html You can use the "jar

RE: Creating an aggregation from a list of files

2003-03-17 Thread Conal Tuohy
> 2) Transform your manifest, create XInclude statements and > run through > the XInclude transformer. > 3) Transform your manifest, create CInclude statements and > run through > the CInclude transformer. > > CInclude allows you to call Cocoon pipelines so it is very > powerful. I > wou

RE: is this kosher?

2003-03-13 Thread Conal Tuohy
-Original Message- From: David Kavanagh [mailto:[EMAIL PROTECTED] >Well, maybe.. >Just as a matter of protocol, isn't adding a new >component something a cocoon user would do? I'm not >really messing with cocoon internals. I'm just >implementing published interfaces. except didn't you ask

RE: is this kosher?

2003-03-13 Thread Conal Tuohy
You should really be asking this kind of question on the cocoon-dev list, I'd say. Cheers! Con > -Original Message- > From: David Kavanagh [mailto:[EMAIL PROTECTED] > > > I've written this HTTPTransformer which takes some simple XML

RE: Generator for OpenOffice

2003-03-12 Thread Conal Tuohy
> Well, > > That's the problem. > > The SXW file does not contain any DTD itself. They are all > on my hard drive, > from the installation of OpenOffice, but not in the files themselves. So your pipeline should read the OpenOffice files from somewhere else. > When I tried to add the D

RE: Generator for OpenOffice

2003-03-12 Thread Conal Tuohy
Hi Yves. You will need other pipelines to extract non-xml resources from the sxw file as well. (Presumably the sxw file contains the DTD?) e.g. http://web/implements/{1}!/{2}.dtd"; mime-type="text/plain"/> - To unsub

RE: Generator for OpenOffice

2003-03-11 Thread Conal Tuohy
Good point, Upayavira! I've taken your suggestion and implemented an example: http://wiki.cocoondev.org/Wiki.jsp?page=JarProtocolExample Cheers! Con > > Basically, it's the ZipGenerator I need with some extras, but before > > writing the code myself, I was wondering whether someone had done it

RE: XSL parameters

2003-03-08 Thread Conal Tuohy
> -Original Message- > From: Matthias Brunner [mailto:[EMAIL PROTECTED] > Sent: Sunday, 9 March 2003 02:23 > how do I set XSL parameters in the sitemap? > This does not seem to be possible: > > > > That should work. You will need to have the parameter declared in your xslt as wel

how to call a view?

2003-03-03 Thread Conal Tuohy
I'm planning to implement a Lucene-based search, so I've been reading up on Views. It seems to me that a view can be selected just by adding "?cocoon-view=some-view" to the URI. I've tried this and it's all OK. But the documentation hints that there's another way, which I don't quite understand (

RE: Generators and external applications...

2003-03-02 Thread Conal Tuohy
Alan Anderson wrote: > My question is how can I run an external program/script and > have the final output be what is sent to > the Transformer for display? I'm guessing I'm missing One option is to run your external executable as a CGI app. This may be easier than porting it to a Generator. The

RE: Reporting Engine

2003-02-10 Thread Conal Tuohy
Looks interesting... but where is the "live demo"? > -Original Message- > From: Sean McKaharay [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 11 February 2003 07:53 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: Reporting Engine > > > xReporter...I am using xReporter right no

RE: Content editor [was: Re: A note about the "best(?) (cocoon-) development environment" ...]

2003-02-10 Thread Conal Tuohy
Markus Vaterlaus wrote: > I'm just facing the same problem as you do. About 30 persons are > contributing to our documentation (a single document runs from 10 to > 100 pages with about as much graphics in it). Actually all > this is done > in MS Word. I have the Vision that in the near future all

RE: Cocoon the solution?

2003-01-03 Thread Conal Tuohy
Hi Ines > In fact what they love to do is saving a word doc into html > and loading > it onto the server. > But all pages are supposed to be in valid XHTML, controled by CSS. Yes - you can store the pages on the server as Word-HTML, and with Cocoon use the HTMLGenerator to convert them to XHTML

RE: [demostration] Re: xsl through pipelin [anyone can help?]

2002-12-28 Thread Conal Tuohy
Instead of creating elements with , you can also use a namespace alias. The namespace-alias xsl element is used mostly for this purpose (xsl generating xsl). Cheers Con See http://www.google.com/search?q=namespace%2Dalias - Pl

RE: [Question] Re: cocoon-session management.

2002-12-21 Thread Conal Tuohy
See the WebServiceProxyGenerator: http://outerthought.net/wiki/Wiki.jsp?page=WebServiceProxyGenerator > -Original Message- > From: Emmanuil Batsis (Manos) [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 21 December 2002 00:24 > To: [EMAIL PROTECTED] > Subject: Re: [Question] Re: cocoon-sessio

RE: RE: xsl:copy-of Problem

2002-12-15 Thread Conal Tuohy
How about something like this, then? Or you might want to look at: http://www.dpawson.co.uk/xsl/sect2/N6461.html#d6361e489 Really you should ask this kind of question on the mulberrytech xsl list; you'll get more response! :-) Con > -Original Message- >

RE: RE: xsl:copy-of Problem

2002-12-14 Thread Conal Tuohy
Marcel your variable $m holds a Result Tree Fragment, not a NodeSet. A RTF is not as useful as a nodeset. In particular you can't use "for-each" with it. See http://www.w3.org/TR/xslt#section-Result-Tree-Fragments Try assigning the variable like this: Cheers! Con > -Original Message-

RE: dynamic atylesheet assignment

2002-12-03 Thread Conal Tuohy
Here's one way: See the "Meta-Stylesheets" page on the Wiki. http://outerthought.net/wiki/Wiki.jsp?page=MetaStylesheets I assume that the article contains a PI or similar, pointing to the stylesheet the author wants to use? You can transform the document using an XSLT that is generated by another

RE: Including static images into SVG files

2002-12-02 Thread Conal Tuohy
Can you capture the name and port of the localhost from the "host" request parameter, and pass it to the stylesheet? -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 3 December 2002 00:21 To: [EMAIL PROTECTED] Subject: RE: Including static images into SVG file

RE: Including static images into SVG files

2002-11-30 Thread Conal Tuohy
-Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED]] >I need to include and display a static image >(its a logo) on all the SVG images I produce; >the only syntax I have managed to get to work is: http://myserver/path/logo.jpg /> (plus height, width) >Unfortunately this req

RE: pipeline problem

2002-10-24 Thread Conal Tuohy
Yes Oskar this is possible. In Cocoon 2.02 it was possible to do exactly as you describe, I believe, but something has broken since then; now you must refer to the xsl using the http protocol, e.g. http://localhost/schematron2compiledSchematron"/> See http://outertho

RE: svg rasterize problems

2002-10-15 Thread Conal Tuohy
Peter - the problem may be that Batik has failed to resolve the relative url "svg.css". I've also had problems with Batik's resolver when using svg elements that refer to external graphic files, and I've found it necessary to provide an absolute URL; this may solve your problem too, though it's a

RE: What DTD's do you use for a plain site?

2002-09-29 Thread Conal Tuohy
I've used simplified docbook - it's easy - much simpler than the full docbook which is huge. But is XHTML really so bad? > -Original Message- > From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] > Sent: Monday, 30 September 2002 02:12 > To: [EMAIL PROTECTED] > Subject: Re: What DTD's do you

RE: Authentication via an Html Scrape Fest

2002-09-17 Thread Conal Tuohy
> -Original Message- > From: Jonathan Lancelle [mailto:[EMAIL PROTECTED]] > I am now attempting to scrape pages behind a user/pw entry. I get a > pop-up request window when I grab the URI of interest via the > browser. > How do I handle the user/id entry within Cocoon? Can I pass them as

RE: Cocoon and PDF/HTML-Layout Tools Integration (for expl. QuarkXPress,... etc.)

2002-09-12 Thread Conal Tuohy
> -Original Message- > From: massimo [mailto:[EMAIL PROTECTED]] > Subject: Cocoon and PDF/HTML-Layout Tools Integration (for expl. > QuarkXPress,... etc.) > Does someone have made already some experience whit the > integration of > PDF/HTML-Layout tools? > or are there other possible ways

RE: aggregator element question

2002-09-10 Thread Conal Tuohy
oh no! an error in my example: > > > > > > > it should be xsl:param not xsl:variable, e.g. http://www.w3.org/1999/XSL/Transform"; version="1.0">

RE: aggregator element question

2002-09-10 Thread Conal Tuohy
> Question: when using the aggregator, is it possible to > specify an attribute as > well as the name of the parent element, eg if I have: > > > > > > > > > > > > > it will give me something like > > > > > > > whereas I would like > > > > > > > > Is this possible? I'm usi

RE: Using Pipeline with third party converters

2002-09-02 Thread Conal Tuohy
If you have an existing application which you can't easily port to Cocoon you can package it as a CGI application. Then you can invoke it from Cocoon, and also use Cocoon to pass it the data it needs. I've used this technique to embed a Microsoft eBook compiler into a Cocoon app. The user request

RE: How force HTMLGenerator to leave elements?

2002-08-25 Thread Conal Tuohy
I've done something similar ... but I haven't hacked the HTMLGenerator ... I simply added custom ATTRIBUTES to the HTML elements, and transformed those. > -Original Message- > From: Marcin Stefaniuk [mailto:[EMAIL PROTECTED]] > Sent: Monday, 26 August 2002 02:44 > To: Cocoon Users (E-mai

RE: ?something redirection

2002-08-20 Thread Conal Tuohy
I think you want a RequestParameterMatcher or WildCardRequestParameterMatcher. > -Original Message- > From: Jesper Rasmussen [mailto:[EMAIL PROTECTED]] > I'm porting some old systems to cocoon. > Before our url's wast foo.com/?something > > In our new cocoon layout the url might be foo

cocoon-users@xml.apache.org

2002-08-11 Thread Conal Tuohy
Justin wrote: > 2) Create a jTidy like program that will turn HTML into > XHTML, but work > for fragments (jTidy seems to only output complete HTML documents) I think this is a good approach. I'm trying to deal with the same thing when reading emails: an email may contain a section formatted in

RE: executing XInclude transformer twice

2002-08-08 Thread Conal Tuohy
Ross, you could try using XInclude recursively by Xincluding a cocoon pipeline, rather than directly XIncluding the resource you want. That way you can get the recursion to happen in the sitemap, i.e. the pipeline makes recursive Xinclude calls to itself. The recursion will terminate when there's

RE: webmail

2002-08-01 Thread Conal Tuohy
Aaargh ... not enough coffee this morning. My previous message was supposed to go to Justin directly. My humble apologies for posting off-topic (would've been OK on the Cocoon-dev list) and in HTML. Con - Please check that your

webmail

2002-08-01 Thread Conal Tuohy
Hi Justin Just a note to keep you up to date on where I'm at, and maybe provoke some response: I've been reading more and more, and thinking and drawing architectural diagrams ... it's more complicated than I first thought. I think this is an issue for your project too. Currently I'm still th

RE: Better way to aggregate?

2002-07-30 Thread Conal Tuohy
If I understand correctly, the aggregation will read the data from each of the subordinate pipelines WITHOUT the serialization step, so these 2 would be equivalent. > -Original Message- > From: Alex Romayev [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 30 July 2002 22:18 > To: [EMAIL PROTE

RE: generating a manifest of xml docs

2002-07-09 Thread Conal Tuohy
I'm glad I could help, icewind. The xinclude elements refer to another Cocoon pipeline, which extracts the title from the tei doc, where it is located at "TEI.2/teiHeader/fileDesc/titleStmt/title/text()". This other pipeline extracts this "TEI.2/teiHeader/fileDesc/titleStmt/title/text()" and prod

RE: QUESTION: Dynamic XSL

2002-07-09 Thread Conal Tuohy
Yes this is possible. I have used: mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 10 July 2002 06:22 > To: [EMAIL PROTECTED] > Subject: RE: QUESTION: Dynamic XSL > > > Your idea is not as far-fetched as you might think (I think there is a > sample with dynamically generated content *and* stylesheet

RE: generating a manifest of xml docs

2002-07-08 Thread Conal Tuohy
> -Original Message- > From: icewind [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 9 July 2002 03:26 > To: [EMAIL PROTECTED] > Subject: generating a manifest of xml docs > > > I would like to be able to have cocoon take an entire > directory of xml files, go through it, grab the > contents o

RE: Impact of number of XLM files versus file size; Performance;

2002-05-31 Thread Conal Tuohy
Thomas Ruth wrote: > From the application logic point of view we > could split the 1 XML file into 2 files, each around 800k of > relevant data or we could create from this one file 1000 > files each containing a set of parent and child, each of this > smaller files is between 1k and 40k. >

RE: Xinclude Problem

2002-05-24 Thread Conal Tuohy
> -Original Message- > From: Margrit John [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 25 May 2002 17:35 > Subject: Xinclude Problem > > > In the Browser I get the following error statement: > > root cause > java.lang.OutOfMemoryError > <> > > Cocoon runs properly, if I remove

RE: Aggregates

2002-05-20 Thread Conal Tuohy
you need a part which refers to another aggregate using the "cocoon:" pseudo-protocol. > -Original Message- > From: andexor [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 21 May 2002 14:51 > To: [EMAIL PROTECTED] > Subject: Aggregates > > > Is it possible to have an aggregate where one of th

RE: cocoon confustion again going insane now -- sorry for being a dumbass but i need help please

2002-05-20 Thread Conal Tuohy
Stephen I notice you have a mis-match between the pattern in your element and the url-prefix in your element. "lnxserv" != "lnxservr" HTH! Con > -Original Message- > From: Stephen Smithstone [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 21 May 2002 08

livesites: www.nzetc.org

2002-05-16 Thread Conal Tuohy
cause I couldn't work out how to make Cocoon produce the web off-line, in command-line mode ;-) The site was launched last night - today I've been sleeping late! ;-) A big "thank you" to the entire Cocoon community for your work on Cocoon and for the helpful adv

RE: XSLT exception: bug or my mistake

2002-05-01 Thread Conal Tuohy
double equal signs in the xpath expression? > -Original Message- > From: Alex McLintock [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 2 May 2002 08:32 > To: [EMAIL PROTECTED] > Subject: XSLT exception: bug or my mistake > > > Hi folks, > > I am getting data from XIndice and piping it t

HOWTO: Serving static XML files a la Cocoon-1

2002-04-28 Thread Conal Tuohy
Hi Peter, Here's one way to respect processing instructions in Cocoon2: Create a pipeline which reads an xml doc, finds the PI element and returns the contents of the xsl document which it specifies. I've called this "get-stylesheet.xsl", since it returns the stylesheet for a document. It will r

SOLUTION: RE: SVG BUG?: The attribute 'xlink:href' of the element is required

2002-04-22 Thread Conal Tuohy
altogether!! ;-) Cheers Conal > -Original Message- > From: Andrew John Savory [mailto:[EMAIL PROTECTED]]On Behalf > Of Andrew > Savory > Sent: Monday, 22 April 2002 20:11 > To: Conal Tuohy > Cc: [EMAIL PROTECTED] > Subject: RE: SVG BUG?: The attribute 'xlink:href&

RE: SVG BUG?: The attribute 'xlink:href' of the element is required

2002-04-21 Thread Conal Tuohy
Andrew John Savory wrote: > On Sun, 21 Apr 2002, Conal Tuohy wrote: > > > http://www.w3.org/1999/xlink"; > xlink:href="Ba01S000.jpg" > > Try using an absolute URL for the href. I've had problems > with relative > hrefs. Cheers, Andrew. I'

SVG BUG?: The attribute 'xlink:href' of the element is required

2002-04-21 Thread Conal Tuohy
Generator.java:142) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:251) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:399) > -Original Message- > From: J.Pietschmann [mailto:[EMAIL PROTECTED]] > Sent: Friday, 19 April 2002 08:33 > To:

problem with linked jpg in svg: The attribute 'xlink:href' of the element is required

2002-04-18 Thread Conal Tuohy
tp://www.w3.org/1999/xlink"; width="534" height="759"> I want to use SVG so I can scale the bitmap down and serialize the scaled down bitmap as a thumbnail. Anyone have any idea? Con --- Conal Tuohy [EMAIL PROTECTED] ---

unparsed-entity-uri() function returning empty

2002-04-17 Thread Conal Tuohy
work. I can work around it by assuming that the value of the figure/@entity tag is a filename without extension, but this is a kludge. Can anyway suggest anything? Thanks! Con --- Conal Tuohy [EMAIL PROTECTED] - Please check

xt:document in cocoon?

2002-04-04 Thread Conal Tuohy
, I notice that in XSLT 1.1 the W3C intended to make this feature standard, but XSLT 1.1 was abandoned, and the feature has been removed from the XSLT 2 Requirements document http://www.w3.org/TR/xslt20req --- Conal Tuohy [EMAIL PROTECTED] -

[SOLUTION] RE: External graphic, FOP and URIResolver

2002-03-21 Thread Conal Tuohy
Until the FOPSerializer is fixed up to allow a base url for images, you can use an XSL stylesheet instead. When I started with FOP I used absolute URLs too, until I wrote this simple stylesheet called ("set-external-graphic-src-base-url.xsl"). The code is simple; it assumes all URLs are relative,

RE: Some Design Help, please

2002-03-05 Thread Conal Tuohy
You can do this kind of conditional include in Cocoon quite easily. In an xsl script you can use xsl:if to conditionally produce xinclude references to your other xml documents (toolbar, header, etc). Then your pipeline can use the xinclude transformer to process these "include" elements and actua

How to run Cocoon in command-line mode?

2002-02-26 Thread Conal Tuohy
I want to be able to generate all the files in a website, then host those files on another (non-Cocoon) server. I've searched the documentation, but can't find how to run Cocoon in "command-line mode". I found a lot of references to running Cocoon in command-line mode, but no examples or descrip

MailTransformer

2002-02-14 Thread Conal Tuohy
It seems to me that a MailTransformer would be a better, more general solution to this problem than an XSP (though I don't know much about XSP). Someone else recently was asking for much the same thing. Has anyone written a MailTransformer? > -Original Message- > From: Noah Mittman [ma

Implement a Generator or a URLStreamHandler?

2002-01-18 Thread Conal Tuohy
I've considering a small project to publish a usenet newsgroup using Cocoon 2. I've used Cocoon for a couple of months, for publishing static xml source (DocBook) as PDF and HTML, but now I have to write some Java! ;-) I think my options are either to write a NewsGroupGenerator in the Cocoon fram

UML docs?

2001-11-18 Thread Conal Tuohy
Are there any uml diagrams (sequence or collaboration diagrams, particularly) of Cocoon2? - Please check that your question has not already been answered in the FAQ before posting. To un