#435 No template matches para in note

packaging problem
closed-invalid
nobody
XSL (1066)
5
2003-06-25
2003-05-27
No

Using docbook.xsl for html output leads to inclusion of
<para> element in a note.

Discussion

  • Robert Stayton

    Robert Stayton - 2003-06-18

    Logged In: YES
    user_id=193218

    Can you clarify what the problem is here?
    I often use <para> inside <note> with HTML output, and I get
    no error messages, and the output looks fine.

    Do you have an example file that exhibits the problem?
    Is there a customization layer involved?

     
  • Jean-Noel Avila

    Jean-Noel Avila - 2003-06-18

    File generated through xsl transform, which exhibits the problem

     
  • Robert Stayton

    Robert Stayton - 2003-06-25

    Logged In: YES
    user_id=193218

    I see the problem now.
    The problem here is in the xml file, not the stylesheet. The
    elements generating the error message have a different name
    space declaration, as for example:

    <para xmlns="http://www.oasis-
    open.org/docbook/xml/4.0/docbookx.dtd">

    The stylesheet processor does not recognize the <para>
    element in that namespace. Remove the namespace
    declaration and the file should process just fine. Otherwise
    you will need to create a customization to handle <para> in
    that namespace.

     
  • Robert Stayton

    Robert Stayton - 2003-06-25
    • status: open --> closed-invalid
     
  • Jean-Noel Avila

    Jean-Noel Avila - 2003-06-25

    Logged In: YES
    user_id=80410

    OK, The file is generated from another xslt transformation,
    and to intermix docbook elements with my own DTD, i created
    this fake namespace.
    I declared the damespace in both the XML et XSLT files and
    the problem disappeared.
    btw, it would really be great to define a namespace for
    Docbook .

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks