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

Subject: Re: [xsl] Problem with "<link>" in xslt output
From: Kingsly John <member+xslt@xxxxxxxxxxx>
Date: Mon, 3 Dec 2007 18:00:45 +0530
+++ 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

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 At Users Dot SourceForge Dot Net  --

Current Thread