![]() |
[Oracle] Help me!!!!
Hey, I've got a question. If you don't know Oracle, you might not want to read this message further. (Geekiness extreme)
So I'm a pretty good SQL jockey, but recently my boss is throwing XML stuff at me. I know that you can store an XML doc in a table as a field of type XMLType, and that you can extractValue() on that column to find the value of an element using the DOM. So lets take this from the top. My XML file looks something like this: Code:
<employee>Code:
id name position salaryIs storing the XML file as a XMLType wise? Or is it better to create tables? The problem is that the potential of the XML file is that there are hundreds of different element types, any or all of which may be present in the XML file, in quantities of one or more. The max depth of the DOM would be about 4, 5 levels though. Any advice would be appreciated. I'm using Oracle 9i. If you want to see the XML doc def I want to store, go here: http://justicexml.gtri.gatech.edu/ex...%203.0.0.0.xls |
Quote:
|
Well no. See there are more than employee node? I need something to enumerate it...
|
| All times are GMT +1. The time now is 23:33. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum