You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2018. It is now read-only.
currently i use mammoth package . in that math function not converted in html so i refer your omml2mathml package in that i passed {http://schemas.openxmlformats.org/officeDocument/2006/math}oMath this element to omml2mathml() function but it return null . where actual problem.
if (element.name == "{http://schemas.openxmlformats.org/officeDocument/2006/math}oMath")
element = MathXml(element);
i call my own function when math element ignore by mammoth package
function matchXml(element)
{
var omml2mathml = require('omml2mathml');
var mathmlElement = omml2mathml(element);
}
The text was updated successfully, but these errors were encountered:
plz can you send your example for DOM node. in mammoth they convert doc in XML element for each paragraph of docx file. so i passed that element in your library but it not work
This uses any DOM implementation that follows the DOM standard (and not even that much of it). For instance, it'll work with xmldom. I don't know what Mammoth uses internally, but if it's some weird non-standard representation of XML then you'll have to convert it to DOM first.
currently i use mammoth package . in that math function not converted in html so i refer your omml2mathml package in that i passed {http://schemas.openxmlformats.org/officeDocument/2006/math}oMath this element to omml2mathml() function but it return null . where actual problem.
i call my own function when math element ignore by mammoth package
function matchXml(element)
{
var omml2mathml = require('omml2mathml');
var mathmlElement = omml2mathml(element);
}
The text was updated successfully, but these errors were encountered: