xsl-list
[Top] [All Lists]

Re: [xsl] Problem with "<link>" in xslt output

2007-12-03 05:31:23
+++ Kingsly John [2007-12-03 17:46:57]:

Is <link> a reserved word in libxslt ?
(I don't see it listed in the xslt reference on zvon.org)

racked my brains for 3 days over this .. and I find the solution minutes
after sending the mail out to the list...

The style sheet had this set .. 

<xsl:output method="html" omit-xml-declaration="yes" indent="yes" />


and <link> is a html tag with no closing element. 

changing it to 

<xsl:output method="xml" omit-xml-declaration="yes" indent="yes" />

fixed the problem.

Kingsly

-- 
---------------------------------------------------------------------------
     Kingsly At Users Dot SourceForge Dot Net  -- http://kingsly.org/
---------------------------------------------------------------------------

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>