Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi;

 

I have this XML structure

 

<DS Name="aName1" File="afile" >

<Value D1="1" > 7384.20 </Value>

<Value D1="2" > 4844.90 </Value>

<Value D1="3" > 5346.30 </Value>

</DS>

<DS Name="aName2" File="afile" >

<Value D1="1" > 7384.20 </Value>

<Value D1="2" > 4844.90 </Value>

<Value D1="3" > 5346.30 </Value>

<Value D1="3" > 5346.30 </Value>

</DS>

..

...

...and so on

 

I need to write an XSL match pattern such that I can always grab the last value in a particular DS element. I am having trouble figure it out. Any idea? please not the number of Value elements under each DS element is not fixed.

 

Any idea how to do this?

 

Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...