How would PHP4 handle an XML file stored in a database record as a blob?
Would the returned blob, holding the XML file be handled as a String? I am in the prelimiary stages of working on a problem and as of right now, we would need to handle/store some data in XML and keep that XML file with the database record.
I know, I know... there are better ways to do this, but right now for our solution we would need to keep 'attributes' of a business entity in XML format for several reasons. But, we need to keep the 'attributes' XML file with the business entity's record in the database.
I had suggested adding an ID as one of the attributes of a node in the XML file and linking the record with the assigned ID in the XML file to an ID in the record. Turns out that we don't want to keep the two seperated. Reason being that when we get the record we want to get the XML file at the same time.
Programming Details:
[FONT=courier new]
PHP 4.3.8
Oracle 9i
PHP's OCI8 Functions
[/FONT]
Plus, any suggestions from past experience or insight if you had worked on a similar problem would be greatly appreciated.
Thank you for reading this post.