You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/05/23 20:12:49 UTC

DO NOT REPLY [Bug 9346] - xsl:apply-templates ignores parameters if select attribute contains document()

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9346>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9346

xsl:apply-templates ignores parameters if select attribute contains document()





------- Additional Comments From David_Marston@lotus.com  2002-05-23 18:12 -------
This might be a classic case of intermediate built-in templates. The root node
of def.xml, like any XML document, is un-named. The "document element" or
top-most visible element in def.xml, is a child of that root node. Your passed
params are not propagated by a built-in template. To verify my theory, say
<xsl:apply-templates select="document('def.xml')//def" mode="xyz"/>
instead of what you have, and tell us if that causes the passed params to work.