Hello, I cannot seem to get the mode attribute working with the applyTemplates & template tags of Xtags. I'm wondering if I'm doing something wrong or if there is a bug here with Xtags.
Here's a simple example. Without the mode attribute it works fine, but when I try to rerun it adding a mode="foo" attribute to everything, the templates don't get called correctly. Any ideas ? <%@ taglib uri="/WEB-INF/xtags.tld" prefix="xtags" %> <html> <head> <title></title> </head> <body> <xtags:parse> <bar>aaa</bar> </xtags:parse> Without mode:<BR> <xtags:stylesheet> <xtags:template match="/"> <xtags:applyTemplates select="bar"/> </xtags:template> <xtags:template match="bar"> bar tag content is <B><xtags:valueOf select="text()"/></B> </xtags:template> </xtags:stylesheet> <P> With mode:<BR> <xtags:stylesheet> <xtags:template match="/"> <xtags:applyTemplates select="bar" mode="foo"/> </xtags:template> <xtags:template match="bar" mode="foo"> bar tag content is <B><xtags:valueOf select="text()"/></B> </xtags:template> </xtags:stylesheet> </body> </html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>