This content has been marked as final.
Show 4 replies
-
1. Re: convert XML data into a Table
rareddy Aug 18, 2010 10:49 AM (in response to rakeshsagar)As I said it is coming in the next blog in next few days. If you are eager, read about XMLTABLE in Teiid Reference documentation on how model it right now. Teiid Designer support is coming in version 7.1 final.
Ramesh..
-
2. Re: convert XML data into a Table
rakeshsagar Aug 19, 2010 6:42 AM (in response to rareddy)Hi Ramesh,
I had gone through the documentation of XMLTABLE function.
For example If I have an xml file residing in C:\Rakesh directory say web.xml and
I want to read the contents of the servlet-name tag in that XML.
How do I specify the path of the XML file in the XMLTABLE function?
Do I need to use the getTextFiles() function which we have used to read the text files?
The web.xml file is attached.
Also I have a question related to the following query
select * from xmltable('/a' PASSING {x '<a id="1"/>'} COLUMNS id integer PATH '@id') x
/a specifies the value to be fetched from the tag a right ?
And the other attributes are optional right?Also, please let me know once you have written the bolg related to convertting XML data tinto the Table.
Thanks
Rakesh
-
web.xml 1.1 KB
-
-
3. Re: convert XML data into a Table
rakeshsagar Aug 24, 2010 7:59 AM (in response to rakeshsagar)Hi Ramesh,
Can you please help me in solving this problem.
-
4. Re: convert XML data into a Table
rareddy Aug 24, 2010 10:37 AM (in response to rakeshsagar)Rakesh,
I am still putting some final touches before I sent out the email but here article I put together for converting the XML data into relational.
Your feed back is important, so let me know if you do not understand something.
Ramesh..