Re: xsl:apply-tempaltes with select matching

Subject: Re: xsl:apply-tempaltes with select matching
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 8 Dec 1999 18:01:58 GMT

  <xsl:template match="Portal:Page">
This should be an error as you haven't declared Portal as a namespace
prefix in your stylesheet. Apart from that, the stylesheet you posted
looks OK and works on xt (once I changed the XSL and portal namespace
declarations)

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
 xmlns:Portal="http://url.com"; version="1.0">

produces the following which is to be expected as there are no templates
for the children of Portal:content.

David



<?cocoon-format type="text/html"><html xmlns:Portal="http://url.com";>
<head>
<title>
      Allegiance Portal -
     </title>
</head>
<body bgcolor="#ffffff" marginwidth="5" marginheight="5" topmargin="5" leftmargin="5">
   
    Header
   
   
     Body
   
   
     Footer
   
  </body>
</html>



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


Current Thread