Very helpful as always Berny, Thank-you. The XML in question is a reusable list of db connections, that I need to read in as a sort of resource (except that it doesn't fit with the name="" set up) so I think the JXPath solution would be the one for this.
And just another little question, for the dynamically created data (that will be transformed for the end-user client side) is it the StrutsCXConstants.XML_KEY in the request where I should put this? Kind Regards, Simon ----- Original Message ----- From: "Bernhard Woehrlin" <[EMAIL PROTECTED]> To: "Simon Kelly" <[EMAIL PROTECTED]>; "Strutscx User" <[EMAIL PROTECTED]> Sent: Wednesday, March 05, 2003 12:11 PM Subject: AW: [Strutscx-user] Passing strutscx the location of an xml resource. > Hi Simon, > > the XML file which fits to the XLS stylesheets in the strutscx-config.xml > gets generated dynamically. Therefore it's not asigned anywhere. > > Another question is, how do you persist your data: In a database, or as EJB, > or as simple flat XML files. > > If you go for flat XML files (like the StrutsCX prototype application does), > you do have a couple of choices to read in or maniupulate these files. The > sample application therefore uses Castor XML. Check the InfoCastoDAO and > you'll find a hard coded String pointing to the destination Castor should > save theses XML files. - Feel free to replace this String and add it to the > strutscx-config.xml. You can add there any XML element you think makes sense > for you. Later you could access this data i.e. with JXPath( - like the > Actions of the sample application do to learn where the XSL are located). > > Hope this is of some help... > > Berny > > > -----Urspr�ngliche Nachricht----- > > Von: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Auftrag von Simon > > Kelly > > Gesendet: Mittwoch, 5. M�rz 2003 11:43 > > An: Strutscx User > > Betreff: [Strutscx-user] Passing strutscx the location of an xml > > resource. > > > > > > Hi, > > > > Just a quicky. Which file would I put the resource location pointer to an > > xml file? IE similar to the > > > > <definition name="home.html4.intro"> > > <!-- a unique name --> > > <!--<put>/WEB-INF/xsl/html4/info_intro.xsl</put>--> > > <put>/WEB-INF/xsl/html4/info_intro.xsl</put> > > </definition> > > > > in strutscx-config. > > > > Regards > > > > Simon > > > > Institut fuer > > Prozessdatenverarbeitung > > und Elektronik, > > Forschungszentrum Karlsruhe GmbH, > > Postfach 3640, > > D-76021 Karlsruhe, > > Germany. > > > > Tel: (+49)/7247 82-4042 > > E-mail : [EMAIL PROTECTED] > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Strutscx-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/strutscx-user > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

