Subject: [xsl] Return one element only From: Arthur Maloney <ArthurM@xxxxxxxxxx> Date: Sat, 18 Feb 2006 09:29:15 +0000 |
Hello xsl-list, I have a repeating pattern of rows: <table> <row7> <amount>3130.6800</amount> <incomeExpenditureType>Total 1</incomeExpenditureType> </row7> <row7> <amount>1200.0000</amount> <incomeExpenditureType>Total 2</incomeExpenditureType> </row7> <row7> <amount>4330.6800</amount> <incomeExpenditureType>Grand Total</incomeExpenditureType> </row7> <row7> <amount>1000.0000</amount> <incomeExpenditureType>Wages/Salary (PCM)</incomeExpenditureType> </row7> <row7> <amount>500.0000</amount> <incomeExpenditureType>Income from self employment</incomeExpenditureType> </row7> ... </table> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XPath / NOT NULL, Vasu Chakkera | Thread | RE: [xsl] Return one element only, Michael Kay |
Re: [xsl] XPath / NOT NULL, Dariusz Borowski | Date | RE: [xsl] Return one element only, Michael Kay |
Month |