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

Re: problem with one example in http://www.w3.org/TR/

Subject: Re: problem with one example in http://www.w3.org/TR/xslt-30/ #stream-examples
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Oct 2014 17:32:49 -0000
Re:  problem with one example in  http://www.w3.org/TR/
I've logged this at

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26999

to ensure it gets attention. Please track it there.

Michael Kay
Saxonica
mike@xxxxxxxxxxxx
+44 (0) 118 946 5893




On 8 Oct 2014, at 18:22, Martin Honnen martin.honnen@xxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

>
> Playing with the examples in http://www.w3.org/TR/xslt-30/#stream-examples I
wonder whether the last example saying
>
> ------------------------------
> Additional template rules could be added to process other elements and
attributes in the same pass through the data: for example, to modify the value
of a last-updated attribute (wherever it appears) to the current date and
time, the following rule suffices:
>
> <xsl:template match="@last-updated">
>  <xsl:attribute name="last-updated" select="current-dateTime()"/>
> </xsl:template>
> -------------------------------
>
> is not lacking a mode="#all" or mode="delete-ednotes" on the
>
>  <xsl:template match="@last-updated">
>
> as otherwise the template would not be applied to the document processed in
a streaming way with the stylesheet presented earlier which does
>
> <xsl:mode name="delete-ednotes" streamable="yes"
>                                on-no-match="shallow-copy"/>
> and
>
>   <xsl:stream href="book.xml">
>      <xsl:apply-templates mode="delete-ednotes"/>
>   </xsl:stream>

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.