This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Error "(StylesheetHandler) xsl:value-of not allowed inside a stylesheet"


You are missing <xsl:template> in your stylesheet.
Something like

> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
>    <html>
>     <head>
>      <title>
>      </title>
>     </head>
>     <body bgcolor="#ffffff">
>      <h1><xsl:value-of select="doc"/></h1>
>     </body>
>    </html>
</xsl:template>
> </xsl:stylesheet>

should do.


Igor. 


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]