It's not a very good solution if you have a lot of values for sort,
because you need to put one xsl:if tag for any possible value.
?xml version=1.0 encoding=ISO-8859-1?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xsl:parameter name = sort/
xsl:template
I have this problem and this is my solution (it isn't very elegat, but can be
util) :
I put the image with a relative link to the pdf file.
The path of my site map is http://machine/context/sci/ (by default context is
coocon). If you request one file of the sci/ directory you need use the first
ted is: can't access to the url "http://swww.uib.es:9080/Noticies/fllistat.not?p_ubi_codalf=SCIp_ub
i_codalf=SCIIncidencies".
Nicola Ken Barozzi wrote:
From: "Bartomeu Adrover" [EMAIL PROTECTED]>
> Hello, I use cocoon 2.01 with apache tomcat 4.01 in windows nt. I
>
Hello, I use cocoon 2.01 with apache tomcat 4.01 in windows nt. I
construct an page with varius xml source with ma:part tag:
map:match pattern=index.xml
map:aggregate element=root
map:part src=cocoon:/noticies.xsrc/
map:part src=personalsci.xml/
map:part src=index.xml/
If you use the transformer xsl with pass the parameter to the xslt, is not
necessary to declare the parameters and use the match. Prove this:
map:match pattern=D*/*.xml
map:generate src=D{1}/{2}.xml/
map:transform src=doc.xsl
map:parameter name=use-request-parameters
See this URL:
http://www.novosoft-us.com/ns2b.nsf/w1/RTF2FO
http://www-106.ibm.com/developerworks/xml/library/x-tiprtf/
Matthew Langham wrote:
Looking for some suggestions on how to convert RTF documents into XSL:FO for
further processing into PDF. Yes I know there are several tools
Hello, the xslt tranform xml to xml, but the HTML serializer transform the
result xml in html. If you tell to the sitemap that the serilizer is xml
then your result as xml.
For example:
map:match pattern=files/**.xml
map:generate src={1}.xml/
map:transform src=transformer.xsl/
Prove to use the action RequestParamAction.
In the java doc of this class you can find how to use it.
Huw Jones wrote:
How do I structure the cocoon2 sitemap to get request parmeters i.e
url: http://hostname/cocoon/hello.pdf?param1=1param2=2
So in the sitemap I want to
map:match
If your xsp files generate FO you dont need the tag map:transform/>.
If your xsp files don't generate FO you need to especify the xslt (or the
transformer) for convert the xml generated by the xsp to FO.
"MOODAD (Shadi LB Soft)" wrote:
Hi
I'm trying to generate pdf reports using the cocoon
There are any information about this in the source code of the xslt
transformer.
Alex Kachanov wrote:
There is a parameter in sitemap use-browser-capabilities-db
does any one know how to use this parameter?
The documentation tells about some browser capability database
but where is it in
Hello
I have intalled a Cocoon 2 with Tomcat 4 in a Windows NT server. I
create a subsitemap outside of the cocoon directory. I include the
sitemap with this code in the main sitemap:
map:pipeline
map:match pattern=sciprova/**
map:mount check-reload=yes src=d:/dades/webuib/serveis/sci/
I'm working in web development and I'm traying to design our web site
with xml and Cocoon2.
With the cocoon 2 is possible pass to an XSLT one parameter usin this
tag
parameter name=myparamvalue=myvalue/ in a pipeline. This parameter
is the name of server, in my case
http://ensiola.uib.es:8080/. I
is def must be global !-->
xsl:param name="page_number"/>
3. use you value whereever you want in the same file-page2html.xsl file
this
way:
xsl:value-of select="$page_number"/>
Enjoy
pino
Original Message Follows
From: Bartomeu Adrover [EMAIL PROTECTED]>
R
Hello, my idea is: create n pipelines that acces to the url's and get html
documents into xhtml. After that create an pipeline that include all this sources:
For all urls:
map:match pattern=url1
map:generate src=http://www.myurl.com/PredINM; type=html/
map:serialize type=xml/
14 matches
Mail list logo