|
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...
|