Jeremy Quinn <[EMAIL PROTECTED]> writes: > > On Friday, August 8, 2003, at 08:36 PM, Hunsberger, Peter wrote: > > > Jeremy Quinn <[EMAIL PROTECTED]> writes: > > > >> > >> OK, thats a bit clearer ;) > >> > >> But I still don't understand how I would go about using these > >> constants from inside JXTemplate XPath expressions. > >> > > I don't use JXTemplate, but I assume you've got a normal Cocoon > > generated input file and a Cocoon transform? IF so, you > aggregate the > > XML file with the original source (as a simple File source) > and then > > you can use Xpath to access it's contents as well as the > contents you > > where previously using Xpath on... > > > > > > No, I am using the JXTemplate Generator. > > Thanks anyway
Hmm, you could still do it with a second transform pass if you had some kind of place holders, but that seems a tad excessive (although the i18N stuff might mean you don't need to write any code)...
