Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 2nd, 2011, 12:43 AM
Registered User
Points: 54, Level: 1
Points: 54, Level: 1 Points: 54, Level: 1 Points: 54, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default Converting "TEX" equations in XML to HTML or XHTML

Hi,

I am new to this forum. I am facing challenge in converting TEX equations in my source XML to Word Document using XSLT.

My XML is as below:

<EquationSource Format="TEX"><![CDATA[$$\sum\nolimits_{f \in F} {} \sum\nolimits_{g \in F} {{w_{fg}}\left\| {{{\bf{x}}_g} - {{\bf{x}}_f}} \right\|} $$]]></EquationSource>

My expected output is :
http://i42.tinypic.com/35izz8o.jpg

As i am not able to copy the equation here, uploaded in tinypic site with image.

Any pointers to start with this? Any help is appreciated.
Reply With Quote
  #2 (permalink)  
Old November 2nd, 2011, 04:26 AM
mhkay's Avatar
Wrox Author
Points: 17,761, Level: 58
Points: 17,761, Level: 58 Points: 17,761, Level: 58 Points: 17,761, Level: 58
Activity: 50%
Activity: 50% Activity: 50% Activity: 50%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,835
Thanks: 0
Thanked 267 Times in 262 Posts
Default

You will need to either write or integrate a parser for TEX equations. I wouldn't attempt to write one unless you know the subject extremely well, which I suspect you don't, or you wouldn't be posting here. A quick google showed some interesting lines to pursue, for example

http://tex.stackexchange.com/questio...he-tex-engines
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting normal text to UTF values using "character map" ROCXY XSLT 1 June 8th, 2011 01:43 PM
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 04:02 PM
How to theme the "Browse" button of "FileUpload" control? varunbwj BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 October 14th, 2009 01:22 AM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM



All times are GMT -4. The time now is 10:58 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.