southbeach
Programmer
Working on an API integration where responses are received in XML. There could be any number of sources and each have their own format.
Now, since I am dealing with 45 to 50 different sources, I figure that the best option would be to extract from each whatever I may need for searching/indexing purpose and store the entire XML Object in a column.
The idea is that once the XML content is needed, I can/should simply extract the object from the column, just as you would any other column, and do what needed.
For the life of me, I have search high and low and a couple of hours later, all I find is suggestions to parse the XML document and store the individual values ... but as I said, no two of these people use identical format.
If I save it in a BLOB field, how then do I read it later? is this possible at all?
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
Now, since I am dealing with 45 to 50 different sources, I figure that the best option would be to extract from each whatever I may need for searching/indexing purpose and store the entire XML Object in a column.
The idea is that once the XML content is needed, I can/should simply extract the object from the column, just as you would any other column, and do what needed.
For the life of me, I have search high and low and a couple of hours later, all I find is suggestions to parse the XML document and store the individual values ... but as I said, no two of these people use identical format.
If I save it in a BLOB field, how then do I read it later? is this possible at all?
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.