xsl-list
[Top] [All Lists]

Re: [xsl] xsl2: temprorary tree containing xsl instructions

2007-11-24 05:47:34
"Robert" == Robert Koberg <rob(_at_)koberg(_dot_)com> writes:

    Robert> Hi, Is it possible to create a temporary tree that is a
    Robert> 'simplified' stylesheet and have its instructions
    Robert> processed?

    Robert> For example I create a temporary tree that contains:

    Robert> <title> BigCo.com: <xsl:value-of
    Robert> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";

    Robert> select="$page-instance/page/metadata/title"></xsl:value-of>
    Robert> </title>

    Robert> $page-instance is a global variable that is
    Robert> (theoretically) not used until the temporary tree is
    Robert> processed.

    Robert> The temporary tree is finally processed by an identity
    Robert> template to copy and hopefully process any xsl
    Robert> instructions present in that temp tree.  But it does not
    Robert> work -- the xsl instructions are just copied to the
    Robert> result. Is there a way to make this happen?

No.
-- 
Colin Adams
Preston Lancashire

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--