RE: xsl question

2003-06-26 Thread Yan, Charlene
You should ask [EMAIL PROTECTED] They are really good on xsl questions. xsl:if test=deviation ='1' Charlene -Original Message- From: Joydeep Bose [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 12:49 PM To: [EMAIL PROTECTED]; Tim Bachta Subject: Re: xsl question

RE: xsl question

2002-09-30 Thread Piroumian Konstantin
From: Kavitha Ramesh [mailto:[EMAIL PROTECTED]] Please do not ask pure XSLT questions here. Take a look at XSLT specific mail lists. Hi, I have an xml file as follows: user userid100/userid /user My XSL file is as follows: xsl:template match=user html /body a

RE: xsl question

2002-09-30 Thread Piroumian Konstantin
From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] From: Kavitha Ramesh [mailto:[EMAIL PROTECTED]] Please do not ask pure XSLT questions here. Take a look at XSLT specific mail lists. Hi, I have an xml file as follows: user userid100/userid /user My XSL file

RE: XSL question

2002-03-28 Thread Andreas Hartmann
*** REPLY SEPARATOR *** On 26.03.2002 at 15:47 Argyn Kuketayev wrote: As I've said before, you can use an action to get params from whereever you need then expose them to sitemap (using returning map in an action). Then you can simply set those params in your trasformer

Re: XSL-question: sort with parameter

2002-03-27 Thread Leonid Kleiner
Try this. Here datatypes also are of concern :). xsl:when test=$xsldttype='number' xsl:for-each select=DATALINE/*[name() = $xslcol] xsl:sort select=. data-type=number/ xsl:call-template name = tablerow / /xsl:for-each /xsl:when xsl:when test=$xsldttype='text' xsl:for-each

Re: XSL-question: sort with parameter

2002-03-26 Thread KOZLOV Roman
Hi Axel, You can use something like following: xsl:sort select=child::node()[name()=$order]/ Best regards Roman Axel Honfi wrote: 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

Re: XSL-question: sort with parameter

2002-03-26 Thread Bartomeu Adrover
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

RE: XSL question

2002-03-25 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: XSL question Yes. There is a tutorial on this at cocooncenter.org: http://www.cocooncenter.de/cc/documents/resources/request-params/index.html -Tom -Original Message- From: Martin Mauri [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 8:56 AM

Re: XSL question

2002-03-25 Thread Martin Mauri
Title: RE: XSL question Hi Thomas, That's a good answer, unfortunately I forgot to point that I'm using Cocoon 1.8.2. Is there a solution for it? thanks! - Original Message - From: von Schwerdtner, Thomas (GXS, FPI) To: '[EMAIL PROTECTED]' Sent: Monday, March 25

RE: XSL question

2002-03-25 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: XSL question Ah, good point. I have no experience with pre 2.x Cocoon, so I don't know what would work. I'm sure others around here can answer that though. -T -Original Message-From: Martin Mauri [mailto:[EMAIL PROTECTED]]Sent: Monday, March 25, 2002 9:07 AMTo

Re: XSL question

2002-03-25 Thread Alexandre Victoor
Hi, you need to declare your parameter at the beginiing of the stylesheet : xsl:param name=yourparam/ xsl:template match=/ Then in the body of your stylesheet, $yourparam gives you the value of the parameter. Good luck Alex

Re: XSL question

2002-03-25 Thread Richard Korthuis
Title: RE: XSL question A while ago I made an XML (Cocoon 1.8)which requested a parameter passed on from a form on a webpage. Maybe you can try something similar for your XSL? xsp:page language="java"xmlns:sql="http://www.apache.org/1999/SQL"xmlns:xsp="http://www

Re: XSL question

2002-03-25 Thread Martin Mauri
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 25, 2002 11:32 AM Subject: Re: XSL question Hi, you need to declare your parameter at the beginiing of the stylesheet : xsl:param name=yourparam/ xsl:template match=/ Then in the body of your stylesheet, $yourparam

Re: XSL question

2002-03-25 Thread Martin Mauri
Title: RE: XSL question Dear Richard, I understand what you say, but here the problem is if I can get a parameter from an outside source, right? - Original Message - From: Richard Korthuis To: [EMAIL PROTECTED] Sent: Monday, March 25, 2002 11:32 AM Subject

RE: XSL question

2002-03-25 Thread Piroumian, Konstantin
-Original Message- From: Martin Mauri [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 5:36 PM To: [EMAIL PROTECTED] Subject: Re: XSL question Dear Alexandre, Yes, I already know how to use params, but the point here is that I need to pass the param from an outside

Re: XSL question

2002-03-25 Thread Martin Mauri
can use an Action to create that param for you in sitemap then you can use it as usual. Regards, Konstantin Piroumian thanks! - Original Message - From: Alexandre Victoor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 25, 2002 11:32 AM Subject: Re: XSL

Re: XSL question

2002-03-25 Thread Richard Korthuis
Title: RE: XSL question Hello, What is this outside source? Are you calling the xml with a param (http:///index.xml?param=something) or are you passing this parameter in some other way? Richard - Original Message - From: Martin Mauri To: [EMAIL PROTECTED

Re: XSL question

2002-03-25 Thread Martin Mauri
Title: RE: XSL question Ok, forget it anyway. Here goes another. Does anyone remember how to define entities inside an xml file without the need of declaring the use of a DTD? thanks! - Original Message - From: Richard Korthuis To: [EMAIL PROTECTED] Sent: Monday

RE: XSL question

2002-03-25 Thread Stefan Seifert
Try this: ?xml version=1.0 encoding=UTF-8? !DOCTYPE root [ !ENTITY nbsp #160; ] root ... /root Stefan -Original Message- From: Martin Mauri [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 4:51 PM To: [EMAIL PROTECTED]; Richard Korthuis Subject: Re: XSL question Ok

Re: XSL question

2002-03-25 Thread Martin Mauri
it worked good, thanks! - Original Message - From: Stefan Seifert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 25, 2002 1:11 PM Subject: RE: XSL question Try this: ?xml version=1.0 encoding=UTF-8? !DOCTYPE root [ !ENTITY nbsp #160; ] root ... /root Stefan

RE: Re: XSL question

2002-03-25 Thread Matthieu Benéteau
Kopie: Thema: Re: XSL question 25.03.02 17:21 Bitte antworten an cocoon-users Ok, forget it anyway. Here goes another. Does

RE: XSL question

2002-03-25 Thread Chitharanjan Das
Generator for reference) Hope this helps Regds, Chiths -Original Message- From: Martin Mauri [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 7:12 AM To: [EMAIL PROTECTED] Subject: Re: XSL question Dear Konstantin, That's fine, but what I need to do is to choose dinamically