Re: [q-lang-users] Q 5.4, new website
Brought to you by:
agraef
From: <Dr....@t-...> - 2004-09-15 11:52:59
|
Tim Haynes wrote: > Actually, I was beginning to lean toward libx{ml2,slt} myself anyway - as > long as I can build-up XML fragments using a backend representation such as > libxml2's, and transform them fairly quickly with some xslt engine (libxslt > being quite adequate), I'm happy. My little website is still cranking, > happily "powered by Q" for the most part :) That should be possible. The entire document tree is available, and can be traversed and modified, so it is easy to inspect and change the XML in a structured way. Of course you can create new XML trees from scratch, too. And you can also access the internal or external DTD, so that your program knows the validity constraints which are in effect. You might wish to take a look at the catalog.q example, it shows how to create an XML tree from Q data and then transform it using xslt, I think that this is what you need? Cheers, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |