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

saxon:preview doesn't work in 7.3 anymore

Subject: saxon:preview doesn't work in 7.3 anymore
From: Hartmut Kern <kern@xxxxxxxxxxxxxxxxxxx>
Date: 27 Jan 2003 18:39:19 +0100
saxon preview mode
Hey saxonienists,

given the code at the end of the e-mail. I just copied the idea from an example from Michael Kay:

from play.xsl:
.....
<!-- this stylesheet uses "preview" mode to process each scene as it is encountered, avoiding -->
<!-- loading the entire document into memory -->
<saxon:preview mode="preview" elements="SCENE PROLOGUE EPILOGUE"/>
....

the xsl (at the end of the e-mail) works under 7.2. But nothing happens under 7.3. 
Has anyone an idea whats on there? 
Or is it a bug in 7.3?

Hartmut Kern
MPI for the History of Science

 <!-- Preview -->
	<saxon:preview mode="preview" elements="A" />
<!-- Preview End  -->

  <!-- A -->
 	<xsl:template match="A" mode="preview">	
             <xsl:variable name="AContent">
             <xsl:value-of select="@ID" />
           </xsl:variable>
            <xsl:variable name="adummy" select="saxon:setUserData('hrefid', $AContent)" />
	</xsl:template>

	<xsl:template match="A">	
	<xsl:value-of select="saxon:getUserData('hrefid')" />
	</xsl:template>


	<xsl:template match="CatchPhrase">
...
		<div class="p_abstract">
			<xsl:apply-templates select="child::A"/>
					<xsl:value-of select="."/>
		</div>
.....
	</xsl:template>


The corresponding xml
<CatchPhrase>
<A ID="pgfId-999237"></A>
Catch phrase: Helmholtz?Äôs pioneering investigations into the speed of nervous action in animals and humans justifiy the central place he occupies in accounts of the history of modern psychophysiology, but studying his concrete experimental settings and their local contexts shows how deeply his work was embedded in the history of culture and technology.
</CatchPhrase>






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.