xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: idea to show modified source in Batik
Date Sat, 12 Feb 2005 13:19:43 GMT
Hi all,

    I've just added this.  I realized that the 'complex cases'
are probably more common then I originally thought.  The basic
problem is that if you save the document somewhere other than
where it started all external references will be broken.

    There are two ways to look at this
	1) What you really want is the DOM so don't touch it!
	2) saving a document that can't be used is kind of

    There is one fairly simple solution for many of these cases
which would be to set xml:base on the root SVG element to the
original document URL.  Right now it just saves the DOM "as is".

Thomas DeWeese wrote:

>>    I will work on adding a 'save as' to the file menu in squiggle.
>> There are some complex cases that something this simple probably
>> won't get right but 99% of the time it will be just fine.

Andreas Neumann wrote:

> that would be great - as I said, I can't judge how much effort it would 
> be to add such a function, being a non Java programmer. Adding it as a 
> "Save As" method in the "File" Menu would be great.

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message