|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:value-of not allowed inside a stylesheet
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








