Hi Symeon,
I just struggled with this area using the XDOM API. As I just discovered, with 
the help of some good people here and some trial and quite a lot of error, it's 
possible to use a (default) namespace for XDOM but largely undocumented. Rocket 
claim that the API is w3 compliant so we should presume the ext is too.
The documentation for ext *does* say you can use a namespace, the Xpath 
expression will need to be defined like //ts:title/text(). However, I'm not 
sure how the namespace needs to be defined in the ext document. What I 
discovered in the XDOM API; where you need to define a namespace you do *not* 
use quotes around the ns value. Eg xmlns:ts=http://www.foo.com
Hope this is some help.
Stuart Boydell 


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Symeon Breen
Sent: Thursday, 27 May 2010 06:08
To: 'U2 Users List'
Subject: [U2] <U2XML_extraction>

Hi there

 

I am sure i have been through this one before - but can someone confirm it
is or is not possible to process an xml file that has namespace defined
element names using a u2 extraction file  .EXT  ?

 

 

e.g. 

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><feed
xmlns:ts="http://www.foo.com";><ts:title>hello</ts:title></feed>   etc

 

 

 

 

It is not working for me and I thought I had it working in the past...

 

 

 

Thanks

Symeon.

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to