begur_n_rao:
> I am trying to read SVG file using Java and trying to extract all 
> component information. Though SVG follow an XML standard, I do not see 
> a proper XML schema in the SVG file. Is it possible to extract 
> information from SVG file using Batik? If so, can you please send me 
> Java example? Are there any other methods to extract the information 
> from SVG? 

Even if you don’t have a schema that will generate handy classes for you
to access the information stored in the document, since it’s XML, you
can always use the DOM.  For that, you don’t need Batik in particular
(although it does have a DOM implementation that you use).

  
http://java.sun.com/javase/6/docs/api/javax/xml/parsers/DocumentBuilderFactory.html
  http://java.sun.com/javase/6/docs/api/javax/xml/parsers/DocumentBuilder.html
  http://java.sun.com/javase/6/docs/api/org/w3c/dom/Document.html

-- 
Cameron McCormack ≝ http://mcc.id.au/

------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to