[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: passing several external arguments to the spreadsh
Hi,
Another alternative is to use an external configuration file to store the list of languages as an XML document, and call that in from your main stylesheet using the document() function. This is probably easier if your list of languages becomes long and/or you need to control it in some way (for example, validating it against a list of known languages). Using a runtime parameter may be easier if you need control dynamically at runtime, you don't need the list to persist between runs, and your list is short. The two approaches can also be combined. For example, your external list can control what languages are allowed, while the runtime parameter gives those that will actually be used (values in the parameter that don't appear in the external list can be ignored). Finally, note that tokenize() is not available in unextended XSLT 1.0. If you can't use XSLT 2.0 or a 1.0 extension function you'll need to work around this limitation. Cheers, Wendell At 10:21 AM 9/2/2009, you wrote: Manuel Souto Pico wrote: ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|