Re: [xsl] XHTML + XSL -> HTML problem

Subject: Re: [xsl] XHTML + XSL -> HTML problem
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 24 May 2004 09:09:55 -0400
At 2004-05-24 06:03 -0700, Angeshwar Deepak wrote:
I have a XHTML file as follows

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";;>
 <html xmlns="http://www.w3.org/1999/xhtml";;>
...
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";;
  xmlns:xhtml="http://www.w3.org/1999/xhtml";;>
....
Error occurred while parsing document.

Code:   0xc00ce50a
URL:
file:///D:/deepak/buildProcess_2/_tools/test.xhtml
Line:   2
Column: 70
The character '>' was expected.

Yes, because where you have semi-colons you should just have right angle brackets ... you have the incorrect syntax and it is telling you where the problem is. Remove the semi-colons and that error will go away.


I hope this helps.

.................... Ken


-- Public courses: Spring 2004 world tour of hands-on XSL instruction Next: 3-day XSLT/XPath; 2-day XSL-FO - Birmingham, UK June 14,2004

World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread