xsl-list
[Top] [All Lists]

Re: [xsl] Strange template behavior

2012-09-04 08:42:46
Andrew,
Absolutely correct. I have no idea how it got there, but the output was not set to XML but HTML. Changing output to XML solved the problem. Any idea why it worked for one element name and not the other?
Thanks,
Mark

-----Original Message----- From: Andrew Welch
Sent: Tuesday, September 04, 2012 6:37 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Strange template behavior

Below is a template. When it is called, it fails to terminate the element in
the output XML and gives the error:

"Error on line 273 column 9 of 33Subjects.xml:
 SXXP0003: Error reported by XML parser: The element type "Link" must be
terminated by the  matching end-tag "</Link>". Transformation failed:
Run-time errors were reported"

You probably have a transform with xsl:output method="html" somewhere
in your processing chain, and you are attempting to parse its output
as xml...



--
Andrew Welch
http://andrewjwelch.com

--~------------------------------------------------------------------
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>
--~--




--~------------------------------------------------------------------
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>
--~--