Hi wade, Now i have decided to parse svg file as simple xml dom and change the namespace of few elements and then use this modified file to create SVGDOM.......does it works....if yes how do i change or move elements to different namespace...
regards prad G. Wade Johnson wrote: > > On Thu, 17 Aug 2006 23:15:56 -0700 (PDT) > prad <[EMAIL PROTECTED]> wrote: > >> >> 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 > > Well, if the elements are not SVG, then it is not SVG. If it is not SVG, > you > can't really expect Batik to handle it. > > I'm not trying to be nasty, but this question comes up regularly. This is > a > basic XML issue. If you have elements that are not part of the definition > of > SVG, your file is not valid (by the definition of valid in the XML spec). > > Namespaces are a well-defined mechanism for delaying with elements that > are > not part of application. > > If you can't change the input, maybe you can run a post-processing pass > with > XSLT to convert the non-SVG elements to a different namespace before > passing > it to Batik. > > G. Wade > -- > Those who live by the sword get shot by those who don't. > > --------------------------------------------------------------------- > 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#a5920622 Sent from the Batik - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
