[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Copying XHTML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 17 Apr 2001 13:50:34 +0100
  aaargh.

  <xsl:template match="html">
         <html>


Note that this only matches on an html element that is in no namespace.
If the source document is XHTML (as stated) then it will be in the XHTML
namespace, in which case the match will have to be against that.

ie
<xsl:template match="h:html">

where the h prefix is bound to http://www.w3.org/1999/xhtml

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Copying XHTML
    • Mika . Borner - Tue, 17 Apr 2001 07:46:43 -0400 (EDT)
      • Ronald - Tue, 17 Apr 2001 08:09:45 -0400 (EDT)
        • Ronald - Tue, 17 Apr 2001 08:13:19 -0400 (EDT)
          • Ronald - Tue, 17 Apr 2001 08:16:50 -0400 (EDT)
          • David Carlisle - Tue, 17 Apr 2001 08:50:54 -0400 (EDT) <=
          • Michael Kay - Tue, 17 Apr 2001 09:05:56 -0400 (EDT)
      • <Possible follow-ups>
      • Mika . Borner - Wed, 18 Apr 2001 01:19:00 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member