Subject: Re: [xsl] xsl:value-of not allowed inside a stylesheet From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Fri, 17 May 2002 11:35:10 +0100 |
Hi Jarkko, > Header file, that uses varibles (part of it): > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <table width="800" height="20" border="0" cellspacing="2" > cellpadding="2" bgcolor="white"> [snip] The problem is that you haven't got a template in this stylesheet. You've just got a table element with various other elements inside it, including XSLT instructions. Your processor *should* give you an error when it encounters the table element, since you're not allowed to have elements that aren't in a namespace at the top level of the stylesheet -- perhaps it's being generous. Probably you should have the entirety of the content of this stylesheet wrapped inside a template that matches the root node. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:value-of not allowed , Jarkko . Moilanen | Thread | RE: [xsl] concat(), Jarno . Elovirta |
Re: [xsl] xsl:value-of not allowed , Jarkko . Moilanen | Date | [xsl] effiecient use of keys, x y |
Month |