Gennemskue Maple MV-format
Jeg skal bruge hjælp til parse Maples MV format.et simpelt regnestykke:
4+4
vil skabe en XML blok hvor det næsten er umuligt at finde resultatet i selve maple koden.
<Group view="presentation" hide-input="false" hide-output="true" inline-output="false" labelreference="L7" drawlabel="true" redirect-target="L29">
−
<Input>
−
<Text-field prompt="> " style="Maple Input" layout="Normal">
<Equation executable="true" style="2D Input" input-equation="4+4" display="LUklbXJvd0c2Iy9JK21vZHVsZW5hbWVHNiJJLFR5cGVzZXR0aW5nR0koX3N5c2xpYkdGJzYnLUkjbW5HRiQ2JFEiNEYnLyUsbWF0aHZhcmlhbnRHUSdub3JtYWxGJy1JI21vR0YkNi1RIitGJ0YvLyUmZmVuY2VHUSZmYWxzZUYnLyUqc2VwYXJhdG9yR0Y4LyUpc3RyZXRjaHlHRjgvJSpzeW1tZXRyaWNHRjgvJShsYXJnZW9wR0Y4LyUubW92YWJsZWxpbWl0c0dGOC8lJ2FjY2VudEdGOC8lJ2xzcGFjZUdRLDAuMjIyMjIyMmVtRicvJSdyc3BhY2VHRkdGKy8lK2V4ZWN1dGFibGVHRjhGLw==">LUkiK0clKnByb3RlY3RlZEc2JCIiJUYm</Equation>
</Text-field>
</Input>
−
<Output>
−
<Text-field superscript="false" placeholder="false" executable="false" selection-placeholder="false" italic="false" size="12" bold="false" subscript="false" family="Times New Roman" opaque="false" underline="false" background="[255,255,255]" readonly="false" foreground="[0,0,0]" alignment="centred" firstindent="0" spacebelow="0" leftmargin="0" linespacing="0.0" initial="0" linebreak="space" rightmargin="0" bulletsuffix="" spaceabove="0" bullet="none" pagebreak-before="false">
−
<Equation executable="false" style="2D Output" display="LUkjbWlHNiMvSSttb2R1bGVuYW1lRzYiSSxUeXBlc2V0dGluZ0dJKF9zeXNsaWJHRic2JVE1b3V0cHV0fnJlZGlyZWN0ZWQuLi5GJy8lJ2l0YWxpY0dRJXRydWVGJy8lLG1hdGh2YXJpYW50R1EnaXRhbGljRic=">
LUkjbWlHNiMvSSttb2R1bGVuYW1lRzYiSSxUeXBlc2V0dGluZ0dJKF9zeXNsaWJHRic2JVE1b3V0cHV0fnJlZGlyZWN0ZWQuLi5GJy8lJ2l0YWxpY0dRJXRydWVGJy8lLG1hdGh2YXJpYW50R1EnaXRhbGljRic=
</Equation>
</Text-field>
</Output>
</Group>
Der er nogle base 64 encodede strenge, hvis klartekst ser således ud:
-I%mrowG6#/I+modulenameG6"I,TypesettingGI(_syslibGF'6'-I#mnGF$6$Q"4F'/%,mathvariantGQ'normalF'-I#moGF$6-Q"+F'F//%&fenceGQ&falseF'/%*separatorGF8/%)stretchyGF8/%*symmetricGF8/%(largeopGF8/%.movablelimitsGF8/%'accentGF8/%'lspaceGQ,0.2222222emF'/%'rspaceGFGF+/%+executableGF8F/
Men det hjælper ikke meget. Nogen som kan gennemskue hvordan jeg får resultatet af regnestykket ud?