[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl2: temprorary tree containing xsl instructions

Subject: Re: xsl2: temprorary tree containing xsl instructions
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Nov 2007 12:46:51 +0000
Re:  xsl2: temprorary tree containing xsl instructions
>>>>> "Robert" == Robert Koberg <rob@xxxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.