That's great, thanks a lot!

--M

2008/6/11 Rob Davis-5 <[EMAIL PROTECTED]>:
>
>
> Boot the CSS and DOM in batik so that the SVG document is fully parsed. This
> will give you access to the elements as W3C DOM Elements and as Batik
> elements (where you can apply the getBBox)
>
> Use a W3C DOM DOMTreeWalker to recursively iterate through each element.
> Either using your own code or there is a batik one provided in the source I
> believe.
>
> For each element you iterate over, use the Context Bridge to obtain the
> batik element associated with the W3C DOM XML Element and with that you can
> call the getBBox command.
>
> Do a search on here for DOMTreeWalker and you may find an example for
> iterating through the document.
>
> Do a search on google for same term and you will find other examples for
> iterating.
>
> The Oreilly Java and XML book is good too.
>
> --
> View this message in context: 
> http://www.nabble.com/calling-getBBox-on-every-SVG-element-tp17756641p17774871.html
> Sent from the Batik - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to