Re: guide me

2006-04-11 Thread Cinzia
For those interested in this thread, the bit concerning position() and xsl:strip-space, I've posted the problem to [EMAIL PROTECTED] under the subject: "position() affected by xsl:strip-space", sorry for having delayed this so long. Cinzia ---

Re: guide me

2006-04-11 Thread Andreas L Delmelle
On Apr 11, 2006, at 11:15, Cinzia wrote: Chris wrote: There are text nodes in the XML source. The Line Feeds count as text nodes. Then am I correct in assuming that by removing those lines feeds (i.e. all cityInstal elements on one line) would give position() 1,2,3... in fortest3b code

Re: guide me

2006-04-11 Thread Florent Georges
Cinzia wrote: > Then am I correct in assuming that by removing those lines > feeds (i.e. all cityInstal elements on one line) would > give position() 1,2,3... in fortest3b For questions regarding XSLT and XPath, I strongly suggest you to use XSL List at Mulberrytech. Regards, --drkm

Re: guide me

2006-04-11 Thread Cinzia
Chris wrote: > There are text nodes in the XML source. The Line Feeds count as text nodes. Then am I correct in assuming that by removing those lines feeds (i.e. all cityInstal elements on one line) would give position() 1,2,3... in fortest3b code (see previous posts)? Well, it doesn't. I get

Re: guide me

2006-04-11 Thread Chris Bowditch
Cinzia wrote: On Apr 9, 2006, at 15:42, Cinzia wrote: Not so much of a mystery... What that line does, is mark *all* white- space-only text-nodes as ignorable/discardable. If you go: then this would also process text-nodes. If you go: then you're certain you only process the element

Re: guide me

2006-04-10 Thread Cinzia
> On Apr 9, 2006, at 15:42, Cinzia wrote: > > > > > Thanks for that Charles, what made the difference to the result > > seemed to be > > the line with , a mistery. > > Not so much of a mystery... What that line does, is mark *all* white- > space-only text-nodes as ignorable/discardable. > >

Re: guide me

2006-04-10 Thread Andreas L Delmelle
On Apr 9, 2006, at 15:42, Cinzia wrote: Thanks for that Charles, what made the difference to the result seemed to be the line with , a mistery. Not so much of a mystery... What that line does, is mark *all* white- space-only text-nodes as ignorable/discardable. If you go: then this w

RE: RE: Guide me some extended data display

2006-04-10 Thread Raghavendra U
Thanks A Lot -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 5:08 PM To: fop-users@xmlgraphics.apache.org Subject: RE: RE: Guide me some extended data display It's the same pa

RE: RE: Guide me some extended data display

2006-04-10 Thread cknell
s:; Subject: RE: Guide me some extended data display Hi, Thanks a Lot for your information it helped me a lot. Similar to this another problem I'm facing now. India state1 UK

Re: guide me

2006-04-10 Thread Renan Collin
@xmlgraphics.apache.org Subject: guide me Hi All,   can anyone help me to solve my problem.    India  UK   USA   Canada   Australia      this is the XML data.   I want to display ,  in a  row two country names. means output  should be

RE: Guide me some extended data display

2006-04-09 Thread Raghavendra U
il 08, 2006 6:56 PM To: fop-users@xmlgraphics.apache.org Subject: RE: guide me This question will generally get more attention on the Mulberry-Tech XSL list, but here goes. This question reminds me of a riddle I learned in elementary school, Question: How do you get down off an elephant? Answer

RE: Re: guide me

2006-04-09 Thread cknell
rom: Cinzia <[EMAIL PROTECTED]> Sent: Sun, 9 Apr 2006 14:42:00 +0100 To: Subject: Re: guide me > > From an efficiency point of view, wouldn't it be better to have a select > > (that filters odd elements) in the xsl:apply-templates so that the second > > te

Re: guide me

2006-04-09 Thread Cinzia
> > From an efficiency point of view, wouldn't it be better to have a select > > (that filters odd elements) in the xsl:apply-templates so that the second > > template "gets called" 1/2 the total number of cityInstal? > > If you did that, then you would have to make an empty template for the comple

RE: Re: guide me

2006-04-09 Thread cknell
> From an efficiency point of view, wouldn't it be better to have a select > (that filters odd elements) in the xsl:apply-templates so that the second > template "gets called" 1/2 the total number of cityInstal? If you did that, then you would have to make an empty template for the complementary

Re: guide me

2006-04-08 Thread Cinzia
Correction: position() returned a multiple of 2 (not 2 as mentioned below). Cinzia > > Jus a note on xslt processor. I have tried the code below out of curiosity, > and I cannot explain why, but position() always returns 2, which results in > an empty table-body, as the xsl:if fails. (Used: saxonb

Re: guide me

2006-04-08 Thread Cinzia
>From an efficiency point of view, wouldn't it be better to have a select (that filters odd elements) in the xsl:apply-templates so that the second template "gets called" 1/2 the total number of cityInstal? Jus a note on xslt processor. I have tried the code below out of curiosity, and I cannot

RE: guide me

2006-04-08 Thread cknell
-- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: Raghavendra U <[EMAIL PROTECTED]> Sent: Sat, 8 Apr 2006 17:28:43 +0530 To: undisclosed-recipients:; Subject: guide me From: Raghavendra U Sent: Saturday, April 08, 2006 5

guide me

2006-04-08 Thread Raghavendra U
  From: Raghavendra U Sent: Saturday, April 08, 2006 5:24 PMTo: fop-users@xmlgraphics.apache.orgSubject: guide me Hi All,   can anyone help me to solve my problem.    India  UK   USA   Canada   Australia      this is the XML data.   I want to display ,  in a  row two country names

guide me

2006-04-08 Thread Raghavendra U
Hi All,   can anyone help me to solve my problem.   India India India India India   Raghavendra U | Associate Software Engineer | M P H A S I S Architecting Value |139/1,Hosur Road, Koramangala, Bangalore-560 095 | Mobile: +91-9845830975| www.mphasis.com