[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|