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
---
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
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
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
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
> 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.
>
>
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
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
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
@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
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
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
> > 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
> 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
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
>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
--
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
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
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
19 matches
Mail list logo