473,803 Members | 3,899 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DOCBOOK/XSLT - Suppressing the automatic numbering

Hello,

I want to mix in the same document Parts that have automatically
numbered sections and parts which section are not numbered.

Is there any out of the box way to locally suppress the automatic
numbering of section like in latex using \section*{} instead of
\section{} ?

Or should I customize the XSLT with a new kind of section
(informalsectio n) ?
Or to using section for unnumered section ans Sect1/2/3/4/5 for
numbered one ?

Thanks,
Michael

Jan 26 '07 #1
1 1757
Michael Doubez wrote:
Hello,

I want to mix in the same document Parts that have automatically
numbered sections and parts which section are not numbered.
Do the parts themselves still need to have a number (even if their child
sections don't)?
Is there any out of the box way to locally suppress the automatic
numbering of section like in latex using \section*{} instead of
\section{} ?
There is nothing in DocBook itself which specifies numbering or not:
this is left to the stylesheet.
Or should I customize the XSLT with a new kind of section
(informalsectio n) ?
Or to using section for unnumered section ans Sect1/2/3/4/5 for
numbered one ?
Rather than invent a new element type, you could [ab]use one of the
existing attributes on the part element type to signal your intention to
the stylesheet, eg <part status="unnumbe red-sections">

///Peter
Jan 27 '07 #2

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

Similar topics

3
2727
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>
0
1519
by: Thomas Kellerer | last post by:
Hello, I'm not sure if this is the right newsgroup, but I feel it is more approriate then comp.lang.java.* I'm writing documentation with DocBook and I'm converting the xml file through an Ant XSLT task. This works fine although I'm really not very experienced with XSLT. Now I want to use the <textdata> tag in my DocBook xml to include a
3
4070
by: ZJT | last post by:
What are the ways and corresponding tools to transform a docbook document to a pdf document? Thanks a lot!
1
1723
by: David Montgomery | last post by:
Hi, Our company provides ASP services to multiple government agencies. These agencies in turn provide our ASP services to the general public through their web portals. As part of our service we need to provide end-user documentation for the general public to use our ASP tools, providing really simple to understand step-by-step instruction with lots and lots of picture examples. As part of my project to create this documentation, I...
2
3672
by: Antonio Amato | last post by:
Hi, I want to transform XML docbook to HTML with docbook stylesheet (docbook-xsl-1.67.0.zip). I'm using javax.xml.transform.TransformerFactory to apply XSLT to XML but it generates an exception: javax.xml.transform.TransformerException: java.net.ConnectException: Connection timed out: connect. Is somebody using docbook-xsl-1.67.0.zip to do this with another
7
8106
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
2158
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
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.
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
9700
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
9564
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
10546
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
10068
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
7603
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
5627
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4275
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
3796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2970
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.