hello My objetive is create a html page with from xml, the xml source have some mathml and with a xsl transformation, I transform other elements and copy the same mathml block.My problem is that, the mathml block have "strange" symbols like and when I make the transformation the xalan transforms them in ???. Help!!! an other solution like not process the mathml elements?,how? the code
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Hi Raul, I guess xalan supports almost all unicode characters. It may show a question mark or a rectangle box as output if its cannot understand the unicode character that you specify, like & # x 2160; Finding the correct Unicode for math symbol is a real task. Please read the spec from w3c http://www.w3.org/TR/REC-xml#CharClasses i hope you visited the mathml site at http://www.w3.org/Math/ , there may be some free tool which could help you. Regards Balaji
Balaji, I'm not sure Xalan needs to understand these Unicode characters, since Raul encodes them as character references (the number of the particular Unicode character it stands for). I doubt Xalan tries to convert the character references to the actual characters they refer to. On the other hand, the rendering software must understand these character references. Cheers, Dan
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Originally posted by Dan Drillich: Balaji, I'm not sure Xalan needs to understand these Unicode characters, I doubt Xalan tries to convert the character references to the actual characters they refer to. On the other hand, the rendering software must understand these character references. Cheers, Dan
you are right!. Xalan will not try to convert them into actual characters.when its comes to FOP processor, the FOP tries to convert the unicode characters in to actual characters with the help of supplied map file,xalan and xerces.If the output is PDF the map file will be a of TTF. For HTML rendering,Raul may try to supply this map file in form of font file in <font> or <span> tag ,so that IE or netscape will show it as actual character.
Dan Drillich
Ranch Hand
Joined: Jul 09, 2001
Posts: 1123
posted
0
Thanks Balaji. I spoke with our front-end guru and he said that in one case, they created actual images that represented the mathematical symbols because they couldn't find these particular math fonts. Good luck Raul!
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.