Hi Thomas, Thanks for the suggestion,but am not supposed to change svg file or change namespace wat i have to do is to handle such elements by ignoring them
thomas.deweese wrote: > > Hi Prad, > > prad <[EMAIL PROTECTED]> wrote on 08/17/2006 06:06:13 AM: > >> Am finding difficult to get the dom for a svg file. > > Actually it looks like you are getting DOM fine for > SVG files. It is files that look a little like an > SVG file but aren't that causing you problems (as they should). > >> But If the svg file contains other tags like > > This is not a valid SVG file: >> <svg> >> <segments> >> </segments> > > I suggest you fix it by moving the non-SVG elements > out of the SVG namespace: > <svg xmlns:prad="http://prad.org/"> > <prad:segments> > </prad:segments> > </svg> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/getting-dom-from-svg-file-tf2120596.html#a5860806 Sent from the Batik - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
