|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Pass key from one XSL to another
Hi, I recently had a need to pass key from one XSL to another. The way my XSLs are organized is that all common templates are kept in _base.xsl, while XSL such as Organization.xsl import the _base.xsl. The functionality I need to implement now is to apply transformation from Excel date to all Extended Attributes (XA) that has data type of "date". Within Organization.xsl, I keep XAs of date type in a key, and would like to pass this key to the template that processes XAs which is located in _base.xsl so that I can use key() to find if a XA is of date type or not. Can this be done? If not, I suppose my fallback is to set all XAs of date type as a node-set in a variable, which pass onto XA template, then use xsl:for-each within the template. Any comments and suggestions welcomed. Much appreciated, Xiaocun __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








