Can't get rid of default namespace

  • Torsten Bronger

    Torsten Bronger - 2004-11-13

    I use Saxon 6.5.2.

    If I have the same namespace URI for the input and (default) output namespace (I transform XHTML --> XHTML), I can't get rid of the xmlns:html attribute in the top-level output element. This makes it impossible to create valid XHTML from XHTML.

    Is this behaviour correct? Is it different in Saxon 6.5.3 or 8.x?

    • Michael Kay

      Michael Kay - 2004-11-13

      You'll have to give some indication of your input, your stylesheet, the output it is producing, and your desired output. Getting the right namespaces in the output can be a delicate business and it's impossible to give advice without knowing exactly what you are doing wrong.

      Michael Kay


Log in to post a comment.

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

Sign up for the SourceForge newsletter:

No, thanks