469,289 Members | 2,273 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,289 developers. It's quick & easy.

selecting element value from repeatable nodes of same type

ReceiptDesc>

<Receipt>

po_nbr>123</po_nbr>

ReceiptDtl>

<receipt_date>

<year>1978</year>

<month>3</month>

<day>5</day>

<hour>1</hour>

<minute>6</minute>

<second>3</second>

</receipt_date>

<receipt_nbr>26</receipt_nbr>

</ReceiptDtl>

<ReceiptDtl>

<receipt_date>

<year>1979</year>

<month>3</month>

<day>5</day>

<hour>1</hour>

<minute>6</minute>

<second>3</second>

</receipt_date>

<receipt_nbr>26</receipt_nbr>

</ReceiptDtl>

<ReceiptDtl>

<receipt_date>

<year>1980</year>

<month>3</month>

<day>5</day>

<hour>1</hour>

<minute>6</minute>

<second>3</second>

</receipt_date>

<receipt_nbr>27</receipt_nbr>

</ReceiptDtl>

<ReceiptDtl>

<receipt_date>

<year>1978</year>

<month>3</month>

<day>5</day>

<hour>1</hour>

<minute>6</minute>

<second>3</second>

</receipt_date>

<receipt_nbr>28</receipt_nbr>

</ReceiptDtl>

</Receipt>

</ReceiptDesc>



IN the above scenario for a po_nbr we have some receipts and each receipt have multiple ReceiptDtls and some ReceiptDtls have same receipt_nbr the problem is if receipt_nbr is same we have to take the last receipt_date how can we do that



Here we have receipt_nbr=26 but the receipt_date is diff we need to take 1979 not 1978 how to do that
Jun 29 '07 #1
1 1171
Dököll
2,364 Expert 2GB
Are you using XSL to read this?
Jul 4 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Mike Kamermans | last post: by
12 posts views Thread by Lawrence Oluyede | last post: by
1 post views Thread by pjeung | last post: by
2 posts views Thread by areef.islam | last post: by
1 post views Thread by jdhcards | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.