--- Пт, 22.4.11, Jacob Beard <[email protected]> пишет:


От: Jacob Beard <[email protected]>
Тема: Re: [svg-developers] Any SVG editor with a trace function?
Кому: [email protected]
Дата: Пятница, 22 апрель 2011, 19:19


By the way, the Elements tab in the Webkit (Chromium/Safari) debugger
(accessible via Shift+Ctrl+i in Chromium) will highlight the rendered
elements on the SVG canvas when you mouseover them in the debugger's DOM
tree. This might also be useful to you.

Jake

On Fri, Apr 22, 2011 at 10:41 AM, Jeff Schiller <[email protected]> wrote:

>
>
> I think this would be an interesting idea. Basically you would:
>
> a) load an SVG document into the DOM, put it into an invisible container
> (display:none)
> b) then walk the DOM in a depth-first fashion, cloning elements one a
> time, to a visible container
>
> Jeff
>
>
> 2011/4/22 Barend Köbben <[email protected]>
>
> > Well, you could do this maybe by scripting, removing the comments line by
> > line, but I guess you could also use Firebug or another such web browser
> > debugger to "dissect" what is where in the file...
> >
> >
> > --
> > Barend Köbben
> > ITC - University of Twente, Faculty of Geo-Information
> > Science and Earth Observation
> > PO Box 217, 7500AE Enschede (The Netherlands)
> >
> >
> >
> > On 22-04-11 13:10, "Pranav Lal" <[email protected]> wrote:
> >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi Jake,
> > >
> > >Ouch I am dealing with files that have over 100 lines. Hmm.
> > >
> > >Time I got down to it.
> > >Pranav
> > >
> > >-----Original Message-----
> > >From: [email protected]
> > ><mailto:svg-developers%40yahoogroups.com>
> > >[mailto:[email protected]
> > ><mailto:svg-developers%40yahoogroups.com>]
> > >On Behalf Of Jacob Beard
> > >Sent: Friday, April 22, 2011 4:06 PM
> > >To: [email protected]
> > ><mailto:svg-developers%40yahoogroups.com>
> > >Subject: Re: [svg-developers] Any SVG editor with a trace function?
> > >
> > >Probably the easiest way is to just comment out all of the elements you
> > >don't want to see, using XML comments (<!-- -->), and then iteratively
> add
> > >them back in.
> > >
> > >Jake
> > >
> > >On Fri, Apr 22, 2011 at 2:01 AM, Pranav Lal <[email protected]
> > ><mailto:pranav.lal%40gmail.com>> wrote:
> > >
> > >>
> > >>
> > >> Hi all,
> > >>
> > >> I have a large SVG image which I want to dissect. Is there a program
> in
> > >> which I can run a SVG image line by line and watch the result much
> like
> > >>in
> > >> a debugger?
> > >>
> > >> Pranav
> > >>
> > >>
> > >>
> > >
> > >[Non-text portions of this message have been removed]
> > >
> > >------------------------------------
> > >
> > >-----
> > >To unsubscribe send a message to:
> > >[email protected]
> > ><mailto:svg-developers-unsubscribe%40yahoogroups.com>
> > >-or-
> > >visit http://groups.yahoo.com/group/svg-developers and click "edit my
> > >membership"
> > >----Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > Faculty of Geo-Information Science and Earth Observation (ITC)
> > University of Twente
> > Chamber of Commerce: 501305360000
> >
 
If I had such a problem, I'd write parser for this task myself. Due to the fact 
that each SVG tag is bounded by such <> pair of bracets, it is not a great 
problem. SVG structure is a tree. One may exclude brach by branch, leaf by 
leaf. Result will be sequence of SVG files. This sequence may be opened by any 
SVG viewer (the last and smallest file in this sequence, then last but one and 
so on). 

[Non-text portions of this message have been removed]



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

-----
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:
    [email protected] 
    [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