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
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
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,
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
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
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
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
-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
-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
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
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
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/
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
13 matches
Mail list logo