[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

naming conventions for modular XSLT

Subject: naming conventions for modular XSLT
From: Harold Putman <h.putman@xxxxxxxx>
Date: Fri, 21 Nov 2003 11:51:00 -0800 (PST)
harold putman
Hi, 
I am starting to break up my large XSLT into separate modules using xsl:include. It seems like I should have a way to indicate in my XSLT where the templates and variables come from if they are not in the same file. Is there a convention for doing this? 
I am trying out using a dot in the names of things that come from extern modules. That is: main.xsl includes util.xsl. 
In util.xsl I name everything that I intend to "export" with a name beginning with util. 




Then in my main.xsl I have 

... 



Has anyone else done things like this? Is there any downside to doing it this way? 

Thanks, 

Harold Putman 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.