about the opensource lib for parsing the svg file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • whiteideal@gmail.com

    about the opensource lib for parsing the svg file

    hay, guys, i just want to create a svg file according to my data, but
    i don't know whether there is some opensouce lib to do such things.
    Can you tell me about it? Thanks.
  • Juha Nieminen

    #2
    Re: about the opensource lib for parsing the svg file

    whiteideal@gmai l.com wrote:
    hay, guys, i just want to create a svg file according to my data, but
    i don't know whether there is some opensouce lib to do such things.
    Can you tell me about it? Thanks.
    Given that the svg format is rather simple, why don't you just create
    one with direct ofstream writes? Just check the svg specs online.

    Comment

    • Federico Zenith

      #3
      Re: about the opensource lib for parsing the svg file

      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1

      whiteideal@gmai l.com wrote:
      hay, guys, i just want to create a svg file according to my data, but
      i don't know whether there is some opensouce lib to do such things.
      Can you tell me about it? Thanks.
      SVG is a subset of XML. You could use libxml++:
      libxml++, libxml, C++, C++ wrapper, XML.


      Otherwise (Google is your friend), see:
      Download Board library for free. Board is a C++ library for simple vector graphics, which can write EPS, SVG and XFig file formats.


      - -Federico
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.5 (GNU/Linux)
      Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

      iD8DBQFIoXEsBIp u+y7DlLcRAoucAJ 9FpVhPbChMunCRU I3mDOt98QJoFACf Z6lf
      iYA9LEUaenuMg/Xtir9aW0Q=
      =cQ9R
      -----END PGP SIGNATURE-----

      Comment

      • Juha Nieminen

        #4
        Re: about the opensource lib for parsing the svg file

        Federico Zenith wrote:
        SVG is a subset of XML. You could use libxml++:
        http://libxmlplusplus.sourceforge.net/
        Looks rather undocumented. (Just a list of classes and member
        functions with short descriptions is not the best way of quickly
        learning how to use the library.)

        Any quick tutorials of this anywhere?

        Comment

        • whiteideal@gmail.com

          #5
          Re: about the opensource lib for parsing the svg file

          On Aug 12, 6:45 pm, Juha Nieminen <nos...@thanks. invalidwrote:
          whiteid...@gmai l.com wrote:
          hay, guys, i just want to create a svg file according to my data, but
          i don't know whether there is some opensouce lib to do such things.
          Can you tell me about it? Thanks.
          >
          Given that the svg format is rather simple, why don't you just create
          one with direct ofstream writes? Just check the svg specs online.
          Yeth, I think this is the most simple method, since that I just draw
          some lines and text in my svg file.

          Comment

          • whiteideal@gmail.com

            #6
            Re: about the opensource lib for parsing the svg file

            On Aug 12, 8:57 pm, Juha Nieminen <nos...@thanks. invalidwrote:
            Federico Zenith wrote:
            SVG is a subset of XML. You could use libxml++:
            http://libxmlplusplus.sourceforge.net/
            >
            Looks rather undocumented. (Just a list of classes and member
            functions with short descriptions is not the best way of quickly
            learning how to use the library.)
            >
            Any quick tutorials of this anywhere?
            there are many xml lib for such things, like sax2 ans xmlspy. I know
            sax2 is free. and xmlply is not free but good for that.

            Comment

            • whiteideal@gmail.com

              #7
              Re: about the opensource lib for parsing the svg file

              On Aug 12, 7:17 pm, Federico Zenith <zen...@mpiDASH magdeburgDOTmpg .de>
              wrote:
              -----BEGIN PGP SIGNED MESSAGE-----
              Hash: SHA1
              >
              whiteid...@gmai l.com wrote:
              hay, guys, i just want to create a svg file according to my data, but
              i don't know whether there is some opensouce lib to do such things.
              Can you tell me about it? Thanks.
              >
              SVG is a subset of XML. You could use libxml++:http://libxmlplusplus.sourceforge.net/
              >
              Otherwise (Google is your friend), see:http://libboard.sourceforge.net/
              >
              - -Federico
              -----BEGIN PGP SIGNATURE-----
              Version: GnuPG v1.4.5 (GNU/Linux)
              Comment: Using GnuPG with SUSE -http://enigmail.mozdev .org
              >
              iD8DBQFIoXEsBIp u+y7DlLcRAoucAJ 9FpVhPbChMunCRU I3mDOt98QJoFACf Z6lf
              iYA9LEUaenuMg/Xtir9aW0Q=
              =cQ9R
              -----END PGP SIGNATURE-----
              Yeah, there is no need to find a special svg parsing lib and a xml
              parsing lib is ok for that.

              Comment

              Working...