This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I have written a XSL stylesheet to extract mathml and svg from docbook for external processing. I just saw i made a mistake because i did not prefix those elements with mml:, and svg:. The stylesheet worked well : it was looking for imageobject[child::svg] and equation[child:math]. Now that i have prefixed them, these templates find no match. I tried imageobject[svg:svg] and equation[mml:math], but i get the following error :
javax.xml.transform.TransformerException: Le préfixe doit se résoudre en nom d'espace : svg (the prefix should resolve to a namespace would be a possible translation i think)
I start the opening tag mml:math like this <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> And the opening svg:svg is <svg:svg xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> So i think the namespaces are specified !
<xsl:stylesheet xmlns:xsl="...." version="1.0" xmlns:mml="..." xmlns:svg="...">
-- ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |