ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Relative XPATH for XSLT

Post new topic  Reply to topic
 Relative XPATH for XSLT « View previous topic :: View next topic » 
Author Message
ghoshly
PostPosted: Tue Apr 21, 2015 12:01 pm    Post subject: Relative XPATH for XSLT Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

Hi,

My question is more towards XSLT and XPATH; specifically v1.0

Can we have relative XPATH variable in XSLT just like we do have reference variable in ESQL, so that we do not need to mention/parse from the root of a XML tree?


Thanks in advance.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Apr 22, 2015 1:53 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

XPath is a published W3C standard. Use Google.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
ghoshly
PostPosted: Wed Apr 22, 2015 4:32 pm    Post subject: Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

Thanks Kimbert. Definitely my query should have been more to the point.

So far I have seen relative paths to be used in case of loops in XPATH. So I was not sure about the usage of relative XPATHs in all cases and any performance benefit out of it. I'll try to learn more through google.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Apr 23, 2015 5:01 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

For any tree based structure, I would expect that relative paths would limit the amount of node traversal required.

That is, if you are at A/B/C/D/E, and you want to iterate over the children of D... using a relative path from C will be shorter than having to navigate to every element starting at A.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Relative XPATH for XSLT
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.