IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

function of name and local name in XML


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ANIRUDH A

New User


Joined: 31 Aug 2015
Posts: 4
Location: india

PostPosted: Tue Sep 01, 2015 10:32 am
Reply with quote

Hi All,

Can anyone explain me what is the difference between Name and local-name function in XML with an example.I am not able to understand it clearly..

Thanks
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7310
Location: Inside the Matrix

PostPosted: Tue Sep 01, 2015 12:37 pm
Reply with quote

XML doesn't have any functions. So what functions are you referring to?
Back to top
View user's profile Send private message
ANIRUDH A

New User


Joined: 31 Aug 2015
Posts: 4
Location: india

PostPosted: Tue Sep 01, 2015 12:40 pm
Reply with quote

Hi Bill,

I am refering to the 'NAME(/*)' function which when used in an SQL fetches the root element name of the XML.

Thanks,
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2673
Location: NYC,USA

PostPosted: Tue Sep 01, 2015 8:20 pm
Reply with quote

Anirudh,
Please don't open duplicate post for the same question.If someone knows and have time they will surely assist you.
ibmmainframes.com/viewtopic.php?t=64379

Here it goes a similar question and the solution,
ibmmainframes.com/viewtopic.php?p=331488#331488
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts DB2 - row_number function - Need 1st ... DB2 5
No new posts How to Assign a Function key to Mainf... TSO/ISPF 4
No new posts Rexx STRIP Equivalent function in CLIST CLIST & REXX 5
No new posts OUTTRAP Equivalent function in CLIST CLIST & REXX 5
No new posts ADDMONS function - conclusion after o... SYNCSORT 1
Search our Forums:

Back to Top