View Single Post
  #2 (permalink)  
Old Dec 13th, 2006, 08:51
snow snow is offline
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to snow
Re: Need help on xsl and xpath

The problem is the '//'s you are using before every selection. They select the first matching thing in the document that they come accross, which is why you're getting the first values repeated.

You need to define your xpath specifically for where you are in the document. Most of them shouldn't need the '//'s at all.


Post more on the problem if you're having trouble getting the XPath values.

Snow

P.S. I'm not really seeing the point in the 'originator' node, it seems to be just attributes - unless you allow values in some circumstances? If not I'd add it's attributes to the 'tpeg_message' attributes as it would be a lot cleaner. Just an idea...
Reply With Quote