This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Malformed META tag


> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Gautam Sabba
> Sent: Wednesday, February 06, 2002 12:33 PM
> To: XSL-List@lists.mulberrytech.com
> Subject: [xsl] Malformed META tag
>
>
> Hi All,
>             I'm a greenhorn at XSLT so please be gentle :). I'm working
> with MSXML 4 and VC++. I'm just trying to do a very simple x-formation
> (the customary Hello World!). The result of this x-formation i need as
> an object so i use the transformNodeToObject() method. Here it fails
> stating that the resulting DOM object is not in proper shape...the
> culprit being the <META> tag that get added to the x-formation result
>
> <META http-equiv="Content-Type" content="text/html; charset=UTF-16">
>
> ...it has no tag closure. This occurs only if I have a <HEAD> tag
> defined as part of my xsl file.
>
> Is there some work-around for this ? Or am I going about this in the
> right way ?

In general, you can't transform to a node using the "html" output method
(because it may not be wellformed XML). If you don't need a tree, use a
stream as target object.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]