![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm searching for a solution for the following problem for several hours. But I can't find any example which corresponds to my Problem. With this version of an XML-Document everything works fine: select xpath('//two/text()', '<top><one>1</one><two>2</two><three>3</three></top>'); result: {2} This version also works fine: select xpath('//two/text()', '<vb:top xmlns:vb="myns"><one>1</one><two>2</two three>3</three></vb:top>'); result: {2} But this version doesn't work: select xpath('//two/text()', '<top xmlns="myns"><one>1</one><two>2</two three>3</three></top>'); result: {} What is the trick to get xpath() work with a modified standard namespace? |
![]() |
| Thread Tools | |
| Display Modes | |
| |