|
Subject: Re: [xsl] XQuery Updates in XSLT From: Michael Ludwig <milu71@xxxxxx> Date: Thu, 30 Oct 2008 00:31:56 +0100 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XQuery Updates in XSLT, Dimitre Novatchev | Thread | RE: [xsl] XQuery Updates in XSLT, Michael Kay |
| Re: [xsl] XQuery Updates in XSLT, Dimitre Novatchev | Date | Re: [xsl] XQuery Updates in XSLT, Liam Quin |
| Month |