I’ve already talked about this in another topic, but I’ve found
We have some complex definitions and structures in our database and
I’d like to make it possible to simplify adding items to the
application. I’d like to do that using XML. Using XML we’ll define a
few common item structures that can be used as a template for new
items. But I don’t want to actually store physical XML-files on the
server, I want to store the XML in a database. Now my question is: how
to do that? I know how to store it, but I don’t know how to read it.
The sequence is quite simple. If a user wants to create a new item
from a template, they select the appropriate template and the XML
needs to be parsed so that the right values are copied into the right
tables. Is this possible and how? The XML-parsers I know need to be
fed from a file and I don’t want to do that.