473,831 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Docbook question

Hi,

can anybody give me a source code example of

docbook version 5 with a MathML formula and SVG image

I don`t understand, how to include.
By the way, anybody here using docbook ver5 wit dblatex?

thx
Oct 20 '06 #1
3 1503
docbook version 5 with a MathML formula and SVG image

Use the namespaces to distinguish which of these languages each element
(and attribute, if necessary) belongs to.

Writing the document is easy enough; the challenge is going to be
finding a processor which can render the combined document. I haven't
looked recently so I don't have any idea how common those have become.

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Oct 20 '06 #2


Joe Kesselman schrieb:
Use the namespaces to distinguish which of these languages each element
(and attribute, if necessary) belongs to.
That means, for every formula i have to include the "xmlns" namespace as
attribut, like

<math xmlns="http://www.w3.org/1998/Math/MathML"... </math>

or for all elements in the doctype declaration

<set xml:lang="de" xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:mml="http ://www.w3.org/1998/Math/MathML">
Writing the document is easy enough; the challenge is going to be
finding a processor which can render the combined document. I haven't
looked recently so I don't have any idea how common those have become.
Is there at the time a working set up for docbook with mathml and svg
orienting at the 1.71 stylesheets? And which processor? saxon 8(xslt
2.0) or 6. It's a bit confusing. Is there a parser validating
docbook.rng with mathml.rng and how to include the mathml.rng in the
docbook.xml file, that the parser reads it?

Help, I need somebody, Help ! ;-)
Oct 20 '06 #3
Michael Struck wrote:
That means, for every formula i have to include the "xmlns" namespace as
attribut
Or bind the MathML and SVG namespaces to prefixes, and use those. (If
you don't know what I'm talking about, read an intro to XML namespaces.)
Is there at the time a working set up for docbook with mathml and svg
orienting at the 1.71 stylesheets? And which processor? saxon 8(xslt
Any implementation of XSLT can handle namespaced documents; what I'm not
sure is what tools are available for the next stage down the path, when
you're trying to produce a visual representation that combines MathML
and SVG with text.
Is there a parser validating
docbook.rng with mathml.rng
I don't know what ".rng" files are. Any parser that knows how to
validate against XML Schemas should be able to handle documents that
intermix nodes from two schemas -- IF the schema for the outer document
permits "foreign" elements/attributes at the places where you want to
use them.

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Oct 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2686
by: David Winter | last post by:
(Sorry - couldn't find a generic DocBook NG - I hope this is close enough.) I'm considering moving my documentation and translation business - which is currently done in proprietary formats such as FrameMaker, Word and XPress - to a system centered around DocBook. I'm currently reading "DocBook - The Definitive Guide", but I'll need a few answers ASAP ... So maybe a kind soul could give me at least a few hints.
3
2728
by: Dr. Laurence Leff | last post by:
I am having trouble doing the basics with xmlto on Redhat to convert DocBook XML into the various files. I believe the problem is the first line on the files: Here is starter file (notes.xml): <!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"> <!ENTITY chap1 SYSTEM "chap1.xml"> <Book><title>CS310 notes</title></BOOK>
2
2769
by: Simon Strandgaard | last post by:
I am trying to understand how to create a 'catalog.xml' file for my docbook-xml documents. If I understand correct a local catalog.xml file can both avoid hardcoding in makefiles (portability), plus speed up if the stylesheet+dtds is located on the local machine. Question #1: How do I create a catagory.xml file, which works?
3
4071
by: ZJT | last post by:
What are the ways and corresponding tools to transform a docbook document to a pdf document? Thanks a lot!
0
1384
by: b | last post by:
When I create chm with docbook I have most of the pages on one file. So, when I search for "Linux" page begins with "Sample HTML" .... I get the page with several pages in one. Can this be avoided? Can every page (copyright, disclaimer, credits) be on separate pages? Also when viewing chm "Sample xml" text is in the same page as "introduction", "copyright" ... here is xml: Sample-HOWTO.xml
2
1738
by: Yarco | last post by:
I'm learning for docbook under win32. I download: openjade-1_3_1-2-bin docbook-xml-4.4 docbook-dsssl-1.79 ldp.dsl And then copy all openjade bin\ to win32 system\, and then create a directory share\ under my workhome. Copy openjade-dsssl, docbook-xml-4.4, docbook-dsssl-1.79 to share\. ldp.dsl into docbook-dsssl-1.79\html\.
7
8108
by: mike p. | last post by:
I have a docbook xml file, and am using standard docbook 1.61.3 xsl stylesheets to do xhtml transform. Transform works fine when using MSXML. When I try to do the following using asp.net 1.1: private void Page_Load(object sender, System.EventArgs e) { // load content XslTransform trans = new XslTransform();
3
2159
by: Otmar Ganahl | last post by:
Hi! In my application I transform a docbook file to a html view using the webcontrol "Xml" (with a xsl).It works fine, except the using of the tag "fileref" in the docbook-file will cause an exception: _ctl1_DesktopThreePanes1_ThreePanes__ctl3_xml1: Failed! Object reference not set to an instance of an object. (The IE6.0 xml-parser transform the docbook file
2
3351
by: Joseph Kesselman | last post by:
Since the recent "Docbook on Windows" question brought this up... I did a bit of checking on the current status of these schemas, what they're intended for and how they interrelate. IBM's Robert Weir reports that there have been "some discussions in OASIS, between the ODF, DocBook and DITA TC's to come up with a positioning and interop story involving these three standards, with the intent of giving a demo at an OASIS symposium next...
0
9793
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10777
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10494
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10207
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7748
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4416
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.