RE: XInclude - optimization/alternatives to

2002-04-02 Thread Axel Honfi
Hi! I would first generate the data(featured article) and then format it with xslt. Another way would be to generate the content-page, then include the data one time, and then format it with xslt. I have pipelines with up to four xslt-transformations, because I think that's faster(especially if

RE: Redirect on sitemap with parameters

2002-03-29 Thread Axel Honfi
I don't know if this works, give it a try! But what this works with me: map:match pattern= map:redirect-to uri=sample/myvalue /map:match map.match pattern=sample/* map:generate src=docs/sample.xml/ map:transform src=stylesheets/{1}.xsl/ map:serialize/ /map:match or map:redirect-to

RE: XSLT - processing XML from a database field problem

2002-03-29 Thread Axel Honfi
I have no clue why this happens, but have you tried putting the escaped stuff into CDATA-braces with the first stylesheet? I think this should keep the second one from unescaping Maybe an idea Axel -Original Message- From: Florent Soulière [mailto:[EMAIL PROTECTED]] Sent: Friday,

xsp - file upload question

2002-03-27 Thread Axel Honfi
Hello! I have a serious problem with file-uploads. I need to check if the file already exists in the specified directory and if yes, create a new subdirectory and store it there. And I need to delete files in the upload directory. I examined the xsp-upload-sample, but I still don't have a clue

XSL-question: sort with parameter

2002-03-26 Thread Axel Honfi
Hi! I passed a parameter to a stylesheet and I can get the value with xsl:value-of select=$order-by/. But I need to sort data by the value of the parameter like xsl:sort select=$order-by order=ascending/. But with this nothing happens and all other forms I tried also failed. Does anyone know

AW: breadcrumb navigation

2002-03-25 Thread Axel Honfi
Hi! If you mean to show a navigation-path like subdirectories, I would enable sitemap-parameters in the XSLT-Transformer and use the request-url of the user as name(I think they did the same at yahoo changing the '_' to a blank space). Maybe that helped you Axel -Ursprüngliche

AW: Cocoon and XIndice versions

2002-03-23 Thread Axel Honfi
Hello! First, I think that jdk1.4 may cause some problems, but read in the archives for more on that. You don't need a new cvs-snapshot, just use cocoon2 normal release and define the xmldb pseudo protocol in cocoon.xconf: !-- xmldb pseudo protocol with xindice -- source-handler

AW: newbie: install error Language Exception

2002-03-16 Thread Axel Honfi
-Ursprungliche Nachricht- Von: charles gebhard [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 16. Marz 2002 08:13 An: [EMAIL PROTECTED] Betreff: newbie: install error Language Exception cocoon 2.0.1 - binary version sun j2sdk1.4.0 tomcat 4.0.3 linux howdy, i get the following error

AW: XML Stored in a Database

2002-03-15 Thread Axel Honfi
-Ursprüngliche Nachricht- Von: Alan Tibbetts [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 15. März 2002 19:52 An: [EMAIL PROTECTED] Betreff: XML Stored in a Database Hi I've trawled the archives and samples, but can't see the answer to this one. I have XML stored as a string in a

How to get data into sitemap-params (for use with XIndice)?????

2002-03-12 Thread Axel Honfi
Hello and I know I posted a similar question before. Does anyone have a clue or a good idea or anything about how to get information out of the SAX-Events from the pipeline? I need to choose the pipeline based upon the xml-data querried from an XMLDB. collection:results ressources=0/ or

cocoon and xindice

2002-03-12 Thread Axel Honfi
Hello! O.K., my combination works, I can query and update XIndice, but how did anybody solve the problem of user-authentication with the user-data (username, password) saved in XIndice? Thanks for some clues Axel - Please

Question: How to get Data from XML-Source into sitemap-params?

2002-03-08 Thread Axel Honfi
Hello! I query an XIndice DB from Cocoon and get the search-results as an XML-Document. The result is an filled or empty xml-file with the root-element collection:results query=/user[username='xy'][password='xy'] resources=0 xmlns:collection=http://apache.org/cocoon/xmldb/1.0/

(re)acting on XML-Data

2002-03-07 Thread Axel Honfi
Hello! For user-authentication I use the XMLDBSourceFactory with a query for username/password. The result looks something like this: ?xml version=1.0 encoding=UTF-8? collection:results query=/user[username='xy'][password='xy'] resources=1