You don't even need Domify for this - use a "trivial" view and have your controller pass one of the following as the model:
* A string containing the XML * a java.io.Reader which will return the text XML * a javax.xml.transform.Source * an org.w3c.dom.Node (if you've parsed it yourself manually) If you're pulling XML from files on the filesystem, java.io.Reader is probably your best bet. Jeff > -----Original Message----- > From: Ted Malong [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 25, 2004 11:44 AM > To: [EMAIL PROTECTED] > Subject: [Mav-user] using static xml files with domify > > Hello, > > I'm new to Maverick (and admittedly relatively new to > Java). I apologize in advance for the newbie question. > > I'm building a demo app with Maverick/Domify that uses > static XML files. I noticed in the friendbook sample > that static XML files are hardcoded into maverick.xml, > but my app needs to dynamically specify the proper > file to use. My controller will figure out which file > to use from the request or by checking the last > modified date. My question: once the controller knows > which static XML file to use, what's the most > efficient way to pass that on to the XSL stylesheet? > > The mail archives seem to hint at a number of > different solutions, but obviously I haven't found one > that works yet. > > Thanks. > > -Ted > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > [INVALID FOOTER] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click [INVALID FOOTER]
