|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: template matching, passing parameters.
Hi Chris,
You can certainly apply-templates to a node higher in the tree than your current node; when you do, as always, the current node and context shift to the selected node. And you can pass parameters when doing this. When you do this, however, you probably want to use a mode in some fashion to avoid an infinite processing loop. You can also pass a node-set (a higher node or any nodes at all) into a named template as a parameter when you call it, and base the operations in the named template on the parameterized node(s) rather than on the current node. So there actually is a solution lurking there. I hope this helps. Ask again if you need to see syntax. Cheers, Wendell At 10:42 AM 3/30/2004, you wrote: Hello, ====================================================================== 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
|

Cart








