RE: [xsl] Return one element only

Subject: RE: [xsl] Return one element only
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Sun, 19 Feb 2006 15:16:29 +0000
it is giving you exactly what you wanted.
you asked for contents of you get everything under row.

ask for something specific like table/row7[4]/amount"

From: Arthur Maloney <ArthurM@xxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Return one element only
Date: Sat, 18 Feb 2006 09:29:15 +0000

Hello xsl-list,

I have a repeating pattern of rows:
<incomeExpenditureType>Total 1</incomeExpenditureType>
<incomeExpenditureType>Total 2</incomeExpenditureType>
<incomeExpenditureType>Grand Total</incomeExpenditureType>
<incomeExpenditureType>Wages/Salary (PCM)</incomeExpenditureType>
<incomeExpenditureType>Income from self employment</incomeExpenditureType>

IN XSLT using select="table/row7[4]"

gives me 1000.0000Wages/Salary (PCM)

What do I do? So the select only gives me 1000.0000

Best regards,
 Arthur                          mailto:ArthurM@xxxxxxxxxx

Be the first to hear what's new at MSN - sign up to our free newsletters!

Current Thread