[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] mathphrase w/ db-xsl-1 generates xmlns:mml attribute
Ah, I misunderstood. I thought you said the output was being put into the mml namespace. What was actually happening was that the mml namespace was being declared, but it was never used, so it had no effect. That is sort of an anticipatory namespace declaration that the XSLT processor outputs just in case there is something in that namespace. I added an exclude-result-prefix="mml" to the math.xsl module so that the namespace declaration is only added if there is output in that namespace. Try the next snapshot. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Chris Chiasson" <chris@chiasson.name> To: "Bob Stayton" <bobs@sagehill.net> Cc: "apps docbook" <docbook-apps@lists.oasis-open.org> Sent: Wednesday, August 30, 2006 12:50 PM Subject: Re: [docbook-apps] mathphrase w/ db-xsl-1 generates xmlns:mml attribute >I placed a test case that covers this thread and "multiple mathphrase > db 5 equation w/ db-xsl-1 generates phrases without line breaks > between them" > > at > > http://chris.chiasson.name/temp/mathphrasefo1.xml > > http://chris.chiasson.name/temp/mathphrasefo1.fo > > http://chris.chiasson.name/temp/mathphrasefo1.pdf > > The xml was generated by hand to reproduce an effect I was seeing with > (voluminous) generated code, so it is rather contrived. > > The fo was generated by using ${frameworks}/docbook/xsl/fo/docbook.xsl > with Saxon 6.X in oXygen 7.2, which is the default fo file. > > The pdf was rendered by fop 0.92 from the fo file by using "C:\Program > Files\fop\fop-0.92beta\fop.bat" -fo ${fo} -${method} ${out} in oXygen. > > The fo file shows the mathml namespace on the fo:inline. The pdf file > shows the lack of a newline between the two equations. > > On 8/28/06, Bob Stayton <bobs@sagehill.net> wrote: >> Hi Chris, >> Can you provide details of this test case and how you processed it? I >> can't duplicate it. >> >> Bob Stayton >> Sagehill Enterprises >> DocBook Consulting >> bobs@sagehill.net >> >> >> ----- Original Message ----- >> From: "Chris Chiasson" <chris@chiasson.name> >> To: "apps docbook" <docbook-apps@lists.oasis-open.org> >> Sent: Saturday, August 26, 2006 2:06 PM >> Subject: [docbook-apps] mathphrase w/ db-xsl-1 generates xmlns:mml >> attribute >> >> >> >I have a xml->fo test case where an equation with a normal >> > <mathphrase> generates an <fo:inline> with the >> > xmlns:mml="http://www.w3.org/1998/Math/MathML" attribute, even though >> > the phrase does not contain any MathML. >> > >> > -- >> > http://chris.chiasson.name/ >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org >> > For additional commands, e-mail: >> > docbook-apps-help@lists.oasis-open.org >> > >> > >> > >> >> >> > > > -- > http://chris.chiasson.name/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]