You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joerg Heinicke <jo...@gmx.de> on 2004/04/27 22:55:53 UTC
retrieving XML from db using SQLTransformer (was: Strange thingy
with pipeline)
On 27.04.2004 21:43, DoomHammer wrote:
> JH> Can you tell us what exactly you store and retrieve in and from the
> JH> database, i.e. which entities you need to replace? Are it the equation
> JH> or complete MathML?
>
> Serialized it looks like this:
> <math xmlns="http://www.w3.org/1998/Math/MathML">
> <mrow>
> <msub>
> <mi>a</mi>
> <mn>3</mn>
> </msub>
> <mo>=</mo><mo>−</mo><mn>1,</mn><mtext> </mtext><mtext> </mtext><msub>
> <mi>a</mi>
> <mn>8</mn>
> </msub>
> <mo>=</mo><mn>2</mn>
> </mrow>
> </math>
But that's already with @disable-output-escaping, isn't it? Without it
the XML would came out as <math xmlns=""><mrow> and so on?
I did a quick search on SQLTransformer, but it seems it provides no XML
datatype. Is it possible to switch to XSP/ESQL, where the XML datatype
is provided (i.e. the XML string is parsed) and you get real SAX events
out of it? This depends more or less and the generator step you have in
use at the moment.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org