[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Extend/modify DocBook Schema?

docbook schema

I used a modified version of DocBook for an API documentation effort,
adding programmer, maintainer, and packagename to methodsynopsis. 
I was working from the 4.2 DocBook DTD (docbookx.dtd,v 1.13 2002/07/17)
and I followed the examples in the online documentation. [1]

Now I'd like to prepare to try this with the Office 11 Beta (whenever it 
arrives), and need to implement my customization layer in WXS. I had 
changed the order of elements in methodsynopsis by putting 
packagename right before methodname, and by adding a language
attribute.  (I also added some names to the end of the content model, but
I don't think they're a big problem.) I've appended a snippet of the XML. 

I'm very new to WXS, and based on the reading I've done so far, I don't 
think I can support the existing API XML documents with my custom DTD 
and with a customized Schema, because I don't see how I can change 
the order of elements in methodsynopsis to insert my packagename.

Is there a way to customize the DocBook Schema through a customization
layer as I did for the DTD? Or should I change the XML to match a content 
model that I can support  using import? Am I overlooking namespace issues 
that can make this easier (or more difficult)?



[1] Customizing DocBook http://www.docbook.org/tdg/en/html/ch05.html

<methodsynopsis language="PL/SQL">


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.