[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Strange template behavior

Subject: Re: Strange template behavior
From: Michel Hendriksen <michel.hendriksen@xxxxx>
Date: Tue, 4 Sep 2012 15:44:16 +0200
Re:  Strange template behavior
Doesn't work for some HTML tags as these are not necessarily closed
(reason for using HTML output mode)


On Tue, Sep 4, 2012 at 3:42 PM, Mark <mark@xxxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.