xsl-list
[Top] [All Lists]

naming conventions for modular XSLT

2003-11-21 12:51:00
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



<Prev in Thread] Current Thread [Next in Thread>