You could have an include statement in your main stylesheet to include another XSL that has common code. You can then dynamically ( programatically ) add more tags to the parent stylesheet before starting the transformation. This will do the trick! ------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).