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

Subject: RE: XSL Error
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 10 Mar 2003 20:16:58 -0000
> 
> Please show me what is wrong with this code.

Your root template (match="/") does an apply-templates on ssHdr. The
rest of the input document is being ignored. If you want content to be
processed, it must be reached by an xsl:apply-templates.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> 
> <?xml version="1.0"?>
> <!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) 
> by John W. Cane
> (ENW International, Ltd.) -->
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns="MyDocument.xsd" xmlns:html="http://www.w3.org/1999/xhtml"
> version="1.0">
> <xsl:template match="/">
>   <html>
>   <head>
>     <link rel="stylesheet" href="D:\WebApps\DFR\dissertation.css"
> type="text/css"/>
>     <title>
>       <xsl:apply-templates select="ssHdr"/>
>     </title>
>   </head>
> </xsl:template>
> <xsl:template match="ChapHdg">
>   <h4>
>     <xsl:apply-templates/>
>   </h4>
> </xsl:template>
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread
  • XSL Error
    • Jack Cane - Mon, 10 Mar 2003 13:35:12 -0500 (EST)
      • Jack Cane - Mon, 10 Mar 2003 14:26:19 -0500 (EST)
      • Michael Kay - Mon, 10 Mar 2003 15:14:42 -0500 (EST) <=
        • Jack Cane - Mon, 10 Mar 2003 15:43:36 -0500 (EST)
      • <Possible follow-ups>
      • Martinez, Brian - Mon, 10 Mar 2003 16:49:21 -0500 (EST)
        • Jack Cane - Mon, 10 Mar 2003 19:08:33 -0500 (EST)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member