Skip to content

MathML-Next Ideas #2 #80

@AdamSobieski

Description

@AdamSobieski

Introduction

In addition to multiple containing elements for annotations (e.g. <presentation>, <semantics>, <metadata> and <other>), a kind attribute could be of use for distinguishing varieties of annotations.

Multiple Containing Elements

<math id="eq1">
  <presentation>
    <annotation-xml encoding="application/xhtml+xml">...</annotation-xml>
    <annotation-xml encoding="application/svg+xml">...</annotation-xml>
    <annotation encoding="image/png" src="data:..." />
    <annotation-xml encoding="application/mathml-presentation+xml">...</annotation-xml>
  </presentation>
  <semantics>
    <annotation-xml encoding="application/openmath+xml">...</annotation-xml>
    <annotation-xml encoding="application/mathml-content+xml">...</annotation-xml>
    <annotation-xml encoding="application/rdf+xml">...</annotation-xml>
  </semantics>
  <metadata>
    <annotation-xml encoding="application/rdf+xml">...</annotation-xml>
    <annotation encoding="application/json+ld">...</annotation>
  </metadata>
  <other rel="http://www.example.com/semantic-uri/">
    <annotation-xml encoding="...">...</annotation-xml>
  </other>
</math>

Single Containing Element

<math id="eq1">
  <annotations>
    <annotation-xml kind="presentation" encoding="application/xhtml+xml">...</annotation-xml>
    <annotation-xml kind="presentation" encoding="application/svg+xml">...</annotation-xml>
    <annotation kind="presentation" encoding="image/png" src="data:..." />
    <annotation-xml kind="presentation" encoding="application/mathml-presentation+xml">...</annotation-xml>
    <annotation-xml kind="semantics" encoding="application/openmath+xml">...</annotation-xml>
    <annotation-xml kind="semantics" encoding="application/mathml-content+xml">...</annotation-xml>
    <annotation-xml kind="semantics" encoding="application/rdf+xml">...</annotation-xml>
    <annotation-xml kind="metadata" encoding="application/rdf+xml">...</annotation-xml>
    <annotation kind="metadata" encoding="application/json+ld">...</annotation>
    <annotation-xml kind="other" rel="http://www.example.com/semantic-uri/" encoding="...">...</annotation-xml>
  </annotations>
</math>

Metadata

Metadata

Assignees

No one assigned

    Labels

    MathML-NextIdeas for future releasesenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions