[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|