docbook xml schema

N

Nick Ager

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

Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top