Loading ...
Sorry, an error occurred while loading the content.

Marker Element clarification

Expand Messages
  • Tonny Kohar
    Hi, Could someone especially from W3C SVG Workgroup could clarify or explain the following regarding Marker Element: - What is allowable content for Marker ?
    Message 1 of 3 , Nov 1, 2007
    • 0 Attachment
      Hi,

      Could someone especially from W3C SVG Workgroup could clarify or explain
      the following regarding Marker Element:

      - What is allowable content for Marker ?
      eg:
      <Marker ..>
      <path/>, ??? what else ?
      </Marker>


      - Does any element eg: <g>,<use>, <ellipse>, <line>, etc is allowable as
      a child for Marker ? because SVG Specification 1.1 only give example as
      path element.

      - Is multiple graphics element allowed ?
      eg:
      <Marker ..>
      <path/>
      <path/>
      </Marker>

      or only single element ?

      - any constraint not allowed for the above eg: filter, gradient, etc
      inside graphics object that define the marker ?

      Regards
      Tonny Kohar
      --
      Sketsa SVG Graphics Editor
      http://www.kiyut.com
    • Bjoern Hoehrmann
      ... The www-svg@w3.org mailing list would be a better place to request clarification from the W3C. ... The SVG 1.1 DTD defines the content model like so:
      Message 2 of 3 , Nov 1, 2007
      • 0 Attachment
        * Tonny Kohar wrote:
        >Could someone especially from W3C SVG Workgroup could clarify or explain
        >the following regarding Marker Element:

        The www-svg@... mailing list would be a better place to request
        clarification from the W3C.

        >- What is allowable content for Marker ?

        The SVG 1.1 DTD defines the content model like so:

        <!ELEMENT %SVG.marker.qname; %SVG.marker.content; >

        which expands to:

        <!ELEMENT marker
        (desc | title | metadata | animate | set | animateMotion |
        animateColor | animateTransform | svg | g | defs | symbol | use |
        switch | image | style | path | rect | circle | line | ellipse |
        polyline | polygon | text | altGlyphDef | marker | color-profile |
        linearGradient | radialGradient | pattern | clipPath | mask |
        filter | cursor | a | view | script | font | font-face)*>

        There may be further constraints, though the immediate part of the
        specification does not call them out.
        --
        Björn Höhrmann · mailto:bjoern@... · http://bjoern.hoehrmann.de
        Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
        68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
      • Charles McCathieNevile
        Hi Tonny, ... almost anything that is svg: paths, shapes, metadata things like desc and title, image (e.g. a PNG or something),etc. ... Yes ... yes ... Not as
        Message 3 of 3 , Nov 4, 2007
        • 0 Attachment
          Hi Tonny,

          On Thu, 01 Nov 2007 05:52:52 -0300, Tonny Kohar <tonny@...> wrote:

          > Could someone especially from W3C SVG Workgroup could clarify or explain
          > the following regarding Marker Element:
          >
          > - What is allowable content for Marker ?

          almost anything that is svg: paths, shapes, metadata things like desc and
          title, image (e.g. a PNG or something),etc.

          > - Does any element eg: <g>,<use>, <ellipse>, <line>, etc is allowable as
          > a child for Marker ?

          Yes

          > - Is multiple graphics element allowed ?

          yes

          > - any constraint not allowed for the above eg: filter, gradient, etc
          > inside graphics object that define the marker ?

          Not as far as I can see.

          cheers

          Chaals

          --
          Charles McCathieNevile Opera Software, Standards Group
          je parle français -- hablo español -- jeg lærer norsk
          http://my.opera.com/chaals Try the Kestrel - Opera 9.5 alpha
        Your message has been successfully submitted and would be delivered to recipients shortly.