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

Re: XQuery Updates in XSLT

Subject: Re: XQuery Updates in XSLT
From: Michael Ludwig <milu71@xxxxxx>
Date: Thu, 30 Oct 2008 00:31:56 +0100
Re:  XQuery Updates in XSLT
Jesper Tverskov schrieb am 30.10.2008 um 00:09:33 (+0100):
> By the way, this is all the XQuery Updates needed to delete the first
> paragraph of an XHTML document:
> 
> delete node doc("test.html")/*:html/*:body/*:p[1]
> 
> Period.

<xsl:template match="/*:html/*:body/*:p[1]"/>

> The problem with the wonderful modified identity template is that it
> is more like an army even when one policeman would do.
> 
> XSLT has a problem if it is only good at total war.

Let me declare Total Template War on this Evil Document ...

Peace or war, sometimes I wonder why the identity template isn't the
default, built-in template. That would counter the proliferation of
templates (albeit only by one), and war would be less total.

Michael Ludwig

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.