G
gregarican
I am creating an inventory export script using Ruby. The inventory data
is being exported to an XML document using REXML. Each inventory item
has an associated JPG image stored in the database and I want to attach
it to each item in the XML doc. For a test I am just writing out the
file name. I was wondering if it is possible to encode the binary data
and attach that to the item.
Anyone have suggestions?
is being exported to an XML document using REXML. Each inventory item
has an associated JPG image stored in the database and I want to attach
it to each item in the XML doc. For a test I am just writing out the
file name. I was wondering if it is possible to encode the binary data
and attach that to the item.
Anyone have suggestions?