Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > docbook xml schema

Thread Tools

docbook xml schema

Nick Ager
Posts: n/a
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 attribute
fixes the error. Word adds the xmlns attribute automatically.

Any thoughts about how I can parse the document with the xmlns
attribute. I guess I could hack the xsl, but thought there must be an
easier method

Thanks in advance

Reply With Quote

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DocBook: Pass DocBook-Path to Stylesheet XML 1 11-27-2007 12:08 AM
web.xml / XML schema issue, why do some XML schema attributes disappear Java 3 02-20-2007 09:56 AM
[XML Schema] Including a schema document with absent target namespace to a schema with specified target namespace Stanimir Stamenkov XML 3 04-25-2005 09:59 AM
Simplified Docbook as XML schema? Stephan Kurpjuweit XML 3 04-17-2005 03:53 PM
Transform XML docbook to HTML with docbook stylesheet Antonio Amato XML 2 11-18-2004 05:08 PM