docbook xml schema

Discussion in 'XML' started by Nick Ager, Apr 27, 2004.

  1. Nick Ager

    Nick Ager Guest

    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
    Nick Ager, Apr 27, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Markus
    Replies:
    1
    Views:
    1,497
    Markus
    Nov 23, 2005
  2. Antonio Amato
    Replies:
    2
    Views:
    1,256
    Michael Wiedmann
    Nov 18, 2004
  3. Stephan Kurpjuweit

    Simplified Docbook as XML schema?

    Stephan Kurpjuweit, Apr 15, 2005, in forum: XML
    Replies:
    3
    Views:
    837
    s. caillibotte
    Apr 17, 2005
  4. Stanimir Stamenkov
    Replies:
    3
    Views:
    1,171
    Stanimir Stamenkov
    Apr 25, 2005
  5. Replies:
    1
    Views:
    512
    Joseph Kesselman
    Nov 27, 2007
Loading...

Share This Page