473,804 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Simplified Docbook as XML schema?

Hi!

I am looking for a simplified Docbook XML schema. As far as I know,
"Simplified Docbook" only exists as DTD, right? Could you please send me
pointers or ideas that might be useful for me?

Thank you!
Stephan
Jul 20 '05 #1
3 1690


Stephan Kurpjuweit wrote:
I am looking for a simplified Docbook XML schema. As far as I know,
"Simplified Docbook" only exists as DTD, right? Could you please send me
pointers or ideas that might be useful for me?


I think there is software around that can convert a DTD to a W3C XML
schema, you might want to google for that.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 20 '05 #2
Stephan Kurpjuweit wrote:
I am looking for a simplified Docbook XML schema. As far as I know,
"Simplified Docbook" only exists as DTD, right? Could you please send me
pointers or ideas that might be useful for me?


You could generate your own "simplified DocBook schema.
Take DocBook files that are important to you and use
a script that analyses their content. This program then
produces a Schema file, describing all elements found.
I have written such a script myself, but my script
produces a DTD, not a Schema.
Jul 20 '05 #3
Stephan Kurpjuweit wrote:
I am looking for a simplified Docbook XML schema. As far as I know,
"Simplified Docbook" only exists as DTD, right?
With latest release of Docbook NG (relax NG support for Docbook, new
version 5), Norman Walsh also provided Simplified Docbook NG

http://norman.walsh.name/2005/04/12/kahlua
http://docbook.org/docbook-ng/simple/kahlua/

You can download grammar in two flavours rng (xml syntax) and rnc
(compact syntax). With that you obtain a richer grammar than DTD, and
even more than what an XML schema may provide.

Could you please send me
pointers or ideas that might be useful for me?


If you really need w3c xml schema you can convert existing grammar in a
dtd using trang http://www.thaiopensource.com/relaxng/trang-manual.html

Sylvain
Jul 20 '05 #4

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

Similar topics

1
1603
by: Cougarkhan | last post by:
I'm working on some reports, which need will need to be formatted in several different formats. What are some of the recommendations for or against using DocBook XML over a regular XML Document? Thanks.
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
1243
by: Nick Ager | last post by:
I'm experimenting with MS Word 2003 XML features as a DocBook editor. Word only appears to support XML schemas so I'm using an XML schema version of the DocBook DTD. It appears to be working reasonably well apart from adding an xmlns attribute to my outer article element as: <article xmlns="sdocbook"> When I try transforming the document using docbook-xsl-1.65.1 I get the error: "No template matches article". Removing the xmlns...
2
3619
by: Matti Järvinen | last post by:
Hi I am trying to find a tool for converting XML Docbook to format that is recognized by microsoft word. I have been trying combinations such as (xsltproc, jfor) and (xalan, jfor), but the resulting rtf-documents have crashed my word. With openoffice, I can open the files, but the documents are malformed. Are there any (free) programs that con do the conversion for me? I can convert DocBook to PDF, so a good PDF2RTF-tool is also an...
2
1736
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\.
12
1953
by: Jim Anderson | last post by:
This is my first attempt at XML documentation. I'm trying to get started with docbook so I can put a set of documentation into docbook tags. I'm using 'XML In A Nutshell" and "DocBook The Definitive Guide", both of which are a bit outdated already. I have a simple file that parses, but when I read it into Netscape or Konqueror, I do not get the results that I would hope for.
1
2687
by: Will Parsons | last post by:
I am trying to get started with using Docbook/xml using free tools and am stymied in generating printable documentation from even the simplest source. I have attempted to generate a PDF using xmlto (which I guess is a shell interface to xsltproc) for the docbook source on a variety of platforms: Debian GNU/Linux stable, Gentoo GNU/Linux, FreeBSD, and Cygwin. In no case have I been successful, and the error messages are certainly not...
3
1501
by: Michael Struck | last post by:
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
0
9594
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
10346
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...
1
10347
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10090
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...
0
9173
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6863
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();...
1
4308
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
2
3832
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.