>I am trying to use Xalan for the data that is stored not in an XML file, > but in the database.
Are you using Xalan-J or Xalan-C? If Xalan-J: Have you looke at Xalan-J's SQL extensions? Those use a partial implementation of the DTM APIs which won't work for all stylesheets, but which do address your concerns about minimizing storage.
