W3C home > Mailing lists > Public > www-math@w3.org > December 2014

Re: An error on converting MathML to LaTeX

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 25 Dec 2014 18:48:56 +0000
Message-ID: <549C5C18.8040807@nag.co.uk>
To: <www-math@w3.org>
On 25/12/2014 04:50, saf sied wrote:
> In my previous message titled "An error on converting MathML to
> LaTeX" I was refereeing to the following link in regard to Dr.
> Carlisle's XSLT But it seems W3 email system removed the link. So I
> am typing the full URL here:
> http://tex.stackexchange.com/questions/85639/i-want-to-convert-mathml-to-latex
>
>  Thanks..Saf
>


link was in the first version as well:-)

The error message isn't directly related to XSLT or MathML.
Google for the text of the message turns up

http://stackoverflow.com/questions/24054226/the-specified-node-cannot-be-inserted-as-the-valid-child-of-this-node-because-t

which indicates it's an error from the C#/.NET XML processing if you try
to insert a document node as a child of an element. The above link
gives information on how to avoid the error.

You gave no hint of the system you are using but note the stylesheet is
an XSLT 2 stylesheet so will not work with the default .NET XSLT classes
which are still XSLT 1. You can use the free saxon XSLT engine's .NET
implementation.

David
Received on Thursday, 25 December 2014 18:49:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:48 UTC