[svg-developers] Re: What are my options?

2008-11-12 Thread Garry Haywood
I'm only using IE/aSVG as all my clients live in managed service land 
of UK public bodies where everyone uses IE.

My approach is to embed an SVG in an HTML. The SVG is dynamic but all l 
controls are run via JS in the IE view.

Data is fetched from the server as Raw XML using XLR. The returned XML 
block is attached to ie.DOM, processed into an HTML table (inc some 
calcultaion) and the result is charted in the SVG. Most tables can be 
viewed in several ways, a change to the table view alters the chart.

The SVG is a basic layout of the chart. Only series and scales are 
added dynamically to the svg.DOM using HTMLSVG communication. 
Essential there are 3 g:

--- Layout
--- Scales
--- Series

A refresh essentially measns removeing the g for Scales and Series, 
and rebuilding them.

I went this way as it meant that I did not need any widgets for 
SELECTS, RADIOS, and so on. Basically, I'm using SVG as dynamic graphic 
tool for the chart and HTML for all other functionality. 

The way it is structured means that interaction is one-way. However, it 
is possible to have it both directions.

--- In svg-developers@yahoogroups.com, dupemenot [EMAIL PROTECTED] 
wrote:

 Hi,
 I have to generate some data powered diagrams using svg.
 I am using jsp along with struts. Could you guys tell me what are the
 options I have ?
 What I found:
 -Use Batik library which encapsulates svg. This technology is not 100%
 capable yet
 -Use DOM to generate svg. Very long procedure coz one has to go
 through every node and its attributes.
 -Use xslt to generate svg. I dont have much knowledge about this.
 Please explain how would I do this. Its seems more practical approach.
 I am guessing I will have to get the data from the database in XML
 format in order to use this technology.
 
 Please enlighten me!






-
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:
mailto:[EMAIL PROTECTED] 
mailto:[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/



[svg-developers] Re: Announcement: Adobe to Discontinue Adobe SVG Viewer

2006-09-12 Thread Garry Haywood
Hi Richard,

I'm sure there are many of in this situation!

Our App is a combined HTML/SVG data UI solution for govt depts are 
who are all IE users

They will not be going to any other browsers any time soon (including 
ie7) and Flash is not really a solution for us as one of the key 
issues for us, and a key reason for choosing ASV was (and remains) 
the need for users to have a rastered copy of the SVG for post-use, 
as when a user has found the data, made a chart and so on, 99 times 
out of 100 they want to paste it into a word document.

Fortunately the guys at Renesis have included a 'copy image' function 
in their player so I'm hoping that Renesis activeX object gets a good 
wind behind it and comes by for when you and I both take our head's 
out of the sand!

--- In svg-developers@yahoogroups.com, [EMAIL PROTECTED] wrote:

 Tell me about it, a complete nightmare.
 
 Our apps solely work on SVG with some large companies and we are 
rewriting 
 our apps to work on IE and all the Native SVG browsers coming out. 
The 
 headache for me is these large companies are phasing out Flash 
availability 
 in the company. Yep no flash player allowed to be installed, so I 
cannot 
 (wouldnt anyway) move to flash. 3 companies IT depts have already 
confirmed 
 this, SVG is ok luckily, but lo and behold, they use IE
 
 Im also standing at the crossroads, the only thing that keeps me 
going is 
 the hope that Adobe dropping SVG is realised by some one at MS to 
see this 
 as an opportunity to get back at Adobe and grasp back the browser 
market.
 
 I think im going to bury my head in the sand for 6 months, hope an 
 alternative is on the way, if there isnt then probably s**t my 
pants and 
 find another way.
 
 Sorry this has been useless info but had to get it off my chest.
 
 Richard
 
 
 
 From: Ben [EMAIL PROTECTED]
 Reply-To: svg-developers@yahoogroups.com
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Re: Announcement: Adobe to Discontinue 
Adobe SVG 
 Viewer
 Date: Mon, 11 Sep 2006 15:14:34 -
 
 Hi all,
 
 I'm just in the process of developing an SVG application using AJAX
 and PHP for a client. The idea of Adobe backing out of the Adobe 
SVG
 field is causing some concern and to be honest I'd like to know 
what
 real options are available out there otherwise I'll be tempted to 
move
 over to Flash MX.
 
 The real bonus for this product I'm developing is indeed cost, it's
 practically free BUT I need to know that the application based on 
SVG
 is going to be suitable for the client long into the future. If I
 can't gurantee that, then I need to look for a solution that is 
more
 long-term.
 
 What effect is the loss of Adobe SVG plugin going to have on 
coding?
 Will my javascript/php code need to change? Will I need to make
 changes to the servers to allow new SVG plugins/browsers to work?
 Will I have to install anything new, complicated onto users 
machines?
 Will SVG remain widely supported by the open source community?
 
 I feel very much as though I should stop current development before
 I've invested too much time in a solution that is not suitable or
 worse sustainable. SVG has been a life-saver and to think I might 
have
 to move over to another product kinda annoys the hell out of me.
 
 Ben
 
 
 
 
 _
 Be the first to hear what's new at MSN - sign up to our free 
newsletters! 
 http://www.msn.co.uk/newsletters







-
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:
mailto:[EMAIL PROTECTED] 
mailto:[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/
 





[svg-developers] Re use of a DOM

2006-09-12 Thread Garry Haywood
I'm using HTTPXML (for an IE/ASV solution)

 with the format

 var xmlDoc = new ActiveXObject(Msxml2.DOMDocument.3.0);
 xmlDoc.load(url)

this all works nicely, XML data is returned, and the xmlDoc is rturned 
to the calling function.

The XML is then parsed into an array. I put it into an array, because 
the user may/should go back and request more data several times.

Each data-fetch can then be retrieved from the array and displayed 
intables/charts.

It seems to me that I should not need to put the data into an array but 
that I should be able to refer to the xmlDoc as per each request as I 
use a 'new' DOMdocument each time. However I can't figure out how to do 
this. 

Any clues mostg rateful appreciated.

Garry






-
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:
mailto:[EMAIL PROTECTED] 
mailto:[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/
 





[svg-developers] Re: recommend web hosting service that supports SVG?

2006-04-30 Thread Garry Haywood
IIS 5.0 for SVG mimetype is relatively straightforward

I have some instructions here:

http://www.betamodel.com/iis5_and_svg_mimetype

hope this might help you.

--- In svg-developers@yahoogroups.com, TJ Moore [EMAIL PROTECTED] wrote:

 Earthlink offers UNIX/Apache.  I may need to switch from a Windows 
web hosting account to a UNIX acct!
 
 Currently, my account is hosted on an IIS 5.0 server.  I've been 
working with Tech Support via two telephone calls to get SVG added as 
a MIME type, and it has been a pain.  They offered this solution for 
adding SVG on my own (remotely):
 
 http://rtfm.atrax.co.uk/articles/article_11.asp
 
 but they didn't provide any details.  I tried it by switching 
localhost to the IP address for my Earthlink server, but it didn't 
seem to work.  Of course, I don't know WSH that well and I'm pretty 
sure some code must be missing here if you are trying to add a MIME 
type remotely.  One Tech Support representative said he did talk with 
an engineer at Earthlink who thought it should work, but he was going 
to check back with that engineer for further clarification on the 
steps.  If I find out, I'll let you know.
 
 I raised the issue with Earthlink that they should just support SVG 
as a standard MIME type on all servers.  I pointed him to SVG Web 
sites with more info.  The Tech Support rep said he would raise this 
issue with his engineers to see if they can make the change.  It 
would be nice to get some large ISPs to do so.  So, stay tuned.  
(Maybe give Earthlink a call, too!  It might be an opportune time to 
get them to make the change if they get a number of comments/requests 
at once.)
 
 In the interim, my fall-back position is to switch the account to 
UNIX.  It's cheaper anyway.  And, of course, we know why SUN is 
cheaper than MS!  ;-)
 
 Cheers,
 
 TJ
 
 
 -Original Message-
 From: Jonathan Watt [EMAIL PROTECTED]
 Sent: Apr 27, 2006 3:25 PM
 To: svg-developers@yahoogroups.com
 Subject: Re: [svg-developers] recommend web hosting service that 
supports SVG?
 
 Peter,
 
 Any hosting company that provides Apache hosting and allows you to 
write
 your own .htaccess files should be fine. If you have that, then 
you can
 support SVG and gzip encoded SVG on your site regardless of the 
server
 configuration. See
 
 � http://wiki.svg.org/Server_Configuration:Apache
 
 If you want support for gzip encoded SVG I'd recommend you stay 
away from
 IIS hosting. The work arounds required for gzipped SVG aren't fun.
 
 Regards,
 Jonathan
 
 On 4/27/06, Peter Thompson [EMAIL PROTECTED] wrote:
 
  Can someone please recommend a reliable, inexpensive
  web hosting company that supports SVG?� I have very
  few requirements:
  1)supports .svg files
  2)supports .svgz files (I found one that supports svg
  but not svgz)
  3)inexpensive
  You can respond via private email if you think that a
  public response is too much like advertising.
  Thanks.
  Peter
 
 
 
  __
  Do You Yahoo!?
  Tired of spam?� Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
 
 
  -
  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
 
 
 
 
 
 
 
 
 
 [Non-text portions of this message have been removed]
 
 
 
 -
 To unsubscribe send a message to: svg-developers-
[EMAIL PROTECTED]
 -or-
 visit http://groups.yahoo.com/group/svg-developers and click edit 
my membership
 
 
 
 
 
 SPONSORED LINKS
 Xml formatSvgFormatData
 
 YAHOO! GROUPS LINKS
 
 
 * �Visit your group svg-developers on the web.
 �
 * �To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 �
 * �Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.







-
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/

* 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/
 





[svg-developers] Re: An SVG Tutorial

2006-04-14 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, domenico_strazzullo 
   However, I wonder if Adobe has considered including SVG support
  within the Flash browser plugin.  If that happened how would 
 browsers
  distinguish who should render the SVG?
 
 Good point. It would be however a positive evolution since I reckon 
 it will be some time before the native implementations reach the 
 maturity of ASV.
 
 Domenico
 

how does you browser know which plugin is going to play mp3s?

happy easter, if it's your gig






-
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/

* 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/
 




[svg-developers] Re: Has Adobe abandoned SVG?

2006-02-24 Thread Garry Haywood
not that i am 'in the know', but i think we will move forward with 
three paradigms:

flex/flash on the public/consumer/entertainment/web2.0 front

vista/winFX/xaml on the business/intranet front

firefox/minority browsers/open source/svg/uml on the 
developer/academic/science front

all these paradigms are xml and split the prsentation layer from the 
data layer (mostly) 

and given they are all XML, i am begining to think that this is a 
mature development 

--- In svg-developers@yahoogroups.com, Derek Hohls [EMAIL PROTECTED] 
wrote:

 Not wanting to start any flame-wars, or stir up too much
 controversy... but I am interested in opinions of those in
 the know whether or not SVG will continue to remain a 
 fringe technology as far as the big players are concerned:
 http://www.web2journal.com/read/178098.htm 
 When I think RIA, I think AJAX+SVG+ECMAscript ie.
 open standards-based apps... is this is too optimistic
 view of the world, or are players like IBM (who should not
 really have that much vested interest in Flash) poised to
 push things in this direction?!
 
 
 -- 
 This message is subject to the CSIR's copyright, terms and 
conditions and
 e-mail legal notice. Views expressed herein do not necessarily 
represent the
 views of the CSIR.
  
 CSIR E-mail Legal Notice
 http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
  
 CSIR Copyright, Terms and Conditions
 http://mail.csir.co.za/CSIR_Copyright.html 
  
 For electronic copies of the CSIR Copyright, Terms and Conditions 
and the CSIR
 Legal Notice send a blank message with REQUEST LEGAL in the subject 
line to
 [EMAIL PROTECTED]
 
 
 This message has been scanned for viruses and dangerous content by 
MailScanner, 
 and is believed to be clean.







-
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/

* 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/
 




[svg-developers] Re: Flash Lite 2

2006-01-05 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, Richard Gnyla [EMAIL PROTECTED] 
wrote:

 Interesting
 
 Here is the reason why Adobe thinks you should use Flash (and not 
alternative technologies such as SVG
 
 
 Because Flash costs $ and Adobe makes money for selling the 
product, 
 SVG can be done in notepad.
 
 
 

well i'd pay $$$ for a good development tool - whether it can be done 
in notepad or not

I have no objection to adobe making $$$ from any technology iof they 
add value to it or make it easier

I have paid for SVG tools in the past (e.g. Xstudio), and will again, 
if ever one apears (e.g. Renesis)








-
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/

* 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/
 





[svg-developers] Why is being in XML better? (was Re: Adobe/Macromedia)

2005-12-12 Thread Garry Haywood
[author's note: This is a bit of long one, adn not really about 
developments in SVG, but where SVG fits into the big picture of 
business and economics and why XML is better (than what?)]

The argument for XML is not really a technological one, but a 
business and economic one. Which technologies to use is not a 
discussion that business strategists are having right now, and it is 
certainly not one that economists are having either. 

And you should beleive that IT strategists are NOT in the driving 
seat (that was a temporaray blip through dot.com madness), they are 
not even the navigators any longer. The have be backlined to 
technicans seat (again).

The full investment cycle for business/government is a long time (7-
11 years) and ask any economist they will tell you that the new 
technology  driver is a) expanding the cycle not shortening it and b) 
reinvestment is globally directed at margin extratction not at IT 
investment.

Info Technology has been (rightly IMHO) demoted back to toolkit. But 
there is an intersting shift here that is important to this 
discussion about XML, as shareholders would like to see the ROI they 
were promised at the the begining of this cycle stabilised to yeild 
(ie coverting their investment into regualar stable dividends). 
Shareholders are saying you have invested our money in all this kit 
that can talk to one and other, so let it talk... 

XML is better because because it makes for interoperability, and in 
the new business world metricification neccesitates interoperability. 
And because XML has validation, it scores highly for interoperability.

All capitalised Business has two meta-rules: externalise costs; 
internalise revenue. (Any one who operates outside of this rule-set 
is having a laugh a the expense of someone elses' capital reserve.)

From an economic point of view the metrification of this rule-set is 
the key consolidated reason d'etre of IT. And in a changing global 
economy (rapid expansion of the business footprint globally, to the 
structural tranformation of the business population) requires that 
business units can talk to one and other easily, cost-effectivily and 
transparently. 

Administrators in both Business and government need to share metrics. 
The so-called 'economic miracle' of the dot.com era was that we saw a 
rapidaly expanding number of business transactions, yet the amortised 
cost of the transactions hardly changed - partcualy when the cost of 
IT was discounted against the necessary re-invetment and 
capitalisation. This is what made dot.com so sexy. 

While the spotlight for dot.com was on business-to-consumer 
tranasctions, and the partially exposed business-to-busines model, 
what economic analysts began to see was that the real long term 
benefits of this technology was instrinsic metrification of the whole 
business cycle and producting  business descision frameworks that 
were both shorter in timescale and wider in coverage making it 
possible to make more cost-benefical decisisons. This even tirumphs 
over the content-specific industries (new and old) because it is the 
same semantic.

And this understanding is now being widely adopted at the root of the 
investment cycle: with corporate investors. An emerging consensus has 
appeared that says the ROI for IT is in greater metrification. This 
is the discussion that  business strategist and economists are 
having: How we our existing IT investment help use externalise costs 
and internalise revenue? 

Economic gain from IT in the last 25 years (stretching over 4/5 years 
economic cycles) has seem more yield from back-end integration than 
front-office fulfillment. Inverstors would like to see more of this. 
And more of this is delivered through interoperability.

The business community (and governments) have already started turning 
this super-tanker in the direction of interoprability and XML is due 
North. The investor community now has a healthy cyncisim towards IT-
hype, and the lag in economic understanding about the what IT does 
for business is closing. We have moved to a paradigm where IT 
investment must now be consolidated by increasing interoperability.

This is what XML offers. Consolidation of invetment and increased 
operability across business-functions (internally and externally).

SVG is part of this paradigm. It is a cliche that one picture can 
speak a thousand words and thats why you, dear reader, are on this 
list. You know that there is a requirement to present consolidated 
metrics in graphical format - what ever it is you are metrifying.

My engagement with SVG has been relatively recent - and I'm a weird 
species of econmist/developer/researcher/analyst/strategist - but in 
this period I have seen a very common element to all the workings of 
this community and what you/we are trying to do with XML/SVG: make 
better decisions that cost less yet have more impact.

Having a common, underlying language/framework that enables to do 
this is why SVG 

[svg-developers] Why is being in XML better? (was Re: Adobe/Macromedia)

2005-12-12 Thread Garry Haywood
oops, i posted this before I had finished (both argument and 
proofing) so it's full of typos, poor gramma and some missing syntax!

But i hope the trajectory is clear... 

--- In svg-developers@yahoogroups.com, Garry Haywood [EMAIL PROTECTED] 
wrote:

 [author's note: This is a bit of long one, adn not really about 
 developments in SVG, but where SVG fits into the big picture of 
 business and economics and why XML is better (than what?)]
 
 The argument for XML is not really a technological one, but a 
 business and economic one. Which technologies to use is not a 
 discussion that business strategists are having right now, and it 
is 
 certainly not one that economists are having either. 
 
 And you should beleive that IT strategists are NOT in the driving 
 seat (that was a temporaray blip through dot.com madness), they are 
 not even the navigators any longer. The have be backlined to 
 technicans seat (again).
 
 The full investment cycle for business/government is a long time (7-
 11 years) and ask any economist they will tell you that the new 
 technology  driver is a) expanding the cycle not shortening it and 
b) 
 reinvestment is globally directed at margin extratction not at IT 
 investment.
 
 Info Technology has been (rightly IMHO) demoted back to toolkit. 
But 
 there is an intersting shift here that is important to this 
 discussion about XML, as shareholders would like to see the ROI 
they 
 were promised at the the begining of this cycle stabilised to yeild 
 (ie coverting their investment into regualar stable dividends). 
 Shareholders are saying you have invested our money in all this kit 
 that can talk to one and other, so let it talk... 
 
 XML is better because because it makes for interoperability, and in 
 the new business world metricification neccesitates 
interoperability. 
 And because XML has validation, it scores highly for 
interoperability.
 
 All capitalised Business has two meta-rules: externalise costs; 
 internalise revenue. (Any one who operates outside of this rule-set 
 is having a laugh a the expense of someone elses' capital reserve.)
 
 From an economic point of view the metrification of this rule-set 
is 
 the key consolidated reason d'etre of IT. And in a changing global 
 economy (rapid expansion of the business footprint globally, to the 
 structural tranformation of the business population) requires that 
 business units can talk to one and other easily, cost-effectivily 
and 
 transparently. 
 
 Administrators in both Business and government need to share 
metrics. 
 The so-called 'economic miracle' of the dot.com era was that we saw 
a 
 rapidaly expanding number of business transactions, yet the 
amortised 
 cost of the transactions hardly changed - partcualy when the cost 
of 
 IT was discounted against the necessary re-invetment and 
 capitalisation. This is what made dot.com so sexy. 
 
 While the spotlight for dot.com was on business-to-consumer 
 tranasctions, and the partially exposed business-to-busines model, 
 what economic analysts began to see was that the real long term 
 benefits of this technology was instrinsic metrification of the 
whole 
 business cycle and producting  business descision frameworks that 
 were both shorter in timescale and wider in coverage making it 
 possible to make more cost-benefical decisisons. This even tirumphs 
 over the content-specific industries (new and old) because it is 
the 
 same semantic.
 
 And this understanding is now being widely adopted at the root of 
the 
 investment cycle: with corporate investors. An emerging consensus 
has 
 appeared that says the ROI for IT is in greater metrification. This 
 is the discussion that  business strategist and economists are 
 having: How we our existing IT investment help use externalise 
costs 
 and internalise revenue? 
 
 Economic gain from IT in the last 25 years (stretching over 4/5 
years 
 economic cycles) has seem more yield from back-end integration than 
 front-office fulfillment. Inverstors would like to see more of 
this. 
 And more of this is delivered through interoperability.
 
 The business community (and governments) have already started 
turning 
 this super-tanker in the direction of interoprability and XML is 
due 
 North. The investor community now has a healthy cyncisim towards IT-
 hype, and the lag in economic understanding about the what IT does 
 for business is closing. We have moved to a paradigm where IT 
 investment must now be consolidated by increasing interoperability.
 
 This is what XML offers. Consolidation of invetment and increased 
 operability across business-functions (internally and externally).
 
 SVG is part of this paradigm. It is a cliche that one picture can 
 speak a thousand words and thats why you, dear reader, are on this 
 list. You know that there is a requirement to present consolidated 
 metrics in graphical format - what ever it is you are metrifying.
 
 My engagement with SVG has been relatively recent

[svg-developers] Why is being in XML better? (was Re: Adobe/Macromedia)

2005-12-12 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, Jim Ley [EMAIL PROTECTED] wrote:

 
 The XML RSS feeds are broken all over the place, the HTML world, 
well just 
 about anything can render that.
 
 There's no obvious reason why the rendering needs to be shipped 
around as 
 XML.
 
 Jim.


you are absolutley right, who said SVG was the only rendering system? 
not me

I was talking about why is XML is better for SVG than any other mark-
up, particuarly if SVG is to grow into a mature rendering mark-up 
that is part of a component based semantic web that replaces HTML, 
eventually, because HTML needs to be more than just a rendering mark-
up. It's not a technical issue. If XML is the common markup for this 
symantic matrix of data, transformations, queries, etc then SVG, as a 
mature UI rendering system should be too. 

Having a common semantic across different functions of the document 
object model, including rendering, is good: everything is parsed for 
validation once, by one process, before it gets distributed for 
construction - standardisation like this should result in 
less 'rejection' - that fact that we are not making anything does not 
mean rejects don't cost money. It is, in economic terms and within a 
broad statistical framework, efficient for SVG to be in XML, as the 
common rendering markup of the semantic web. That was my point, not 
that its a technical requirement. And it really is an humble opinion: 
in preparing this answer I have rehersed the case for and I still 
think it make sense for SVG to be in XML, and it I think it will 
become as instrisicin in the prevailing economic mode as fordism 
was/is to manufacturing era.

The only reason to adopt an alternative mark-up for SVG is that 
current one -XML, what everything else is being shipped in - is not 
adequate because it is not specialised enough - e.g for Math, CAD, 
Chemistry, etc - or its verbosity is a source of congestion where 
something more streamlined might be in order. But if you think 
otherwise I would like to know has your view is highly regarded here. 

And that so much RSS is broken hardly matters - its mostly terminated 
anyway. It arrives at the final consumer and if it's broken but 
consumable who cares? Not the consumer. However if your repackaging 
data for forward use - like Reuters RSS feeds for example - the 
source has to work, it can't be broken... having it comply and 
validate in XML is necessary thing...

But thanks for the challenge, it was interesting to think this through

Garry 





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] Re: cross-domain interaction with XMLHTTP

2005-11-29 Thread Garry Haywood
thanks to all who helped with this issue...

in the end we have installed php5

the FC Internet Server will let php5ISAPI run via a cgi-bin

so all is sweet, XMLHTTP requests in a secure environment!!

we only needed a little PHP script that takes some variables from the 
request, translates them to http/sql stored procedure for IIS and 
MSSQL

the resulting XML is the echo'd back. tasty


--- In svg-developers@yahoogroups.com, Garry Haywood [EMAIL PROTECTED] 
wrote:

 --- In svg-developers@yahoogroups.com, Robin Berjon 
 [EMAIL PROTECTED] wrote:
 
  On Nov 09, 2005, at 11:36, Garry Haywood wrote:
   the html pages that will contain the scripts that request the 
XML 
 are
   on FirstClass Internet Services (which is an embedded appache 
 server,
   so its pre-compiled and not updateable)
  
  Can you get any kind of executable script running there?
  
  -- 
  Robin Berjon
  Senior Research Scientist
  Expway, http://expway.com/
 
 
 yes, it seems we can run cgi / php
 
 so we can probably do similar method as recomeneded by Jim or 
 similar...
 
 I'll keep the list posted







 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] Re: getURL and global variables

2005-11-10 Thread Garry Haywood
there is also a possibility that your getURL is working, but is 
takeing some time, 

because the fetch is asychronous, your 2nd alert may be being fired 
before the getURL method has completed.

you could test this by putting an alert in f2()

but really, as I said in the repvious messge, you might really want 
to test the sucess of the getURL method

 

--- In svg-developers@yahoogroups.com, Garry Haywood [EMAIL PROTECTED] 
wrote:

 it seems that your getURL call is not happening, hence it nevers 
 calls f2(), and thus global is NOT after
 
 see
 
 you might want to test for sucess:
 
 this following code is taken from 
 http://www.carto.net/papers/svg/samples/get_parse.shtml
 
 function addMe(fileName,where) {
   getURL(fileName, fileLoaded);
   function fileLoaded(data) {
 var string = '';
 if(data.success) {
   string = data.content;
 } else {
   return;
 }
 var node = parseXML(string, document);
 document.getElementById(where).appendChild(node);
   }
 }
 
 
 
 --- In svg-developers@yahoogroups.com, sciuradaltura 
 [EMAIL PROTECTED] wrote:
 
  Hi!
  
  That's my problem: I need to extract some values from an XML file 
 and
  storing it in global variables. I noticed that a function called
  through getURL is not able to modify global variables... This is 
 what
  I have:
  
  var global = before;
  function f1(...) 
  {
   alert(global);
   getURL('...', f2);
   alert(global);
  }
  
  function f2(...)
  {
   global = after;
  }
  
  I call for first the function f1 and the alerts are: before and
  before.
  
  I noticed that if I do this (but I can't - I have to use 
getURL!!!):
  
  var global = before;
  function f1(...) 
  {
   alert(global);
   f2();
   alert(global);
  }
  
  function f2(...)
  {
   global = after;
  }
  
  It works well: alerts are before and after.
  
  How can I resolve the problem with getURL?
  
  Thanks!
  Barbara
 







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 





[svg-developers] Re: cross-domain interaction with XMLHTTP

2005-11-09 Thread Garry Haywood
Thanks Jim,

good solution, but the opposite of what we need!!!

the html pages that will contain the scripts that request the XML are 
on FirstClass Internet Services (which is an embedded appache server, 
so its pre-compiled and not updateable)

the XML comes from IIS/ASP

onwards and upwards!

Garry

--- In svg-developers@yahoogroups.com, Jim Ley [EMAIL PROTECTED] wrote:

 
 Garry Haywood [EMAIL PROTECTED] wrote in message 
 news:[EMAIL PROTECTED]
  --- In svg-developers@yahoogroups.com, Jim Ley [EMAIL PROTECTED] wrote:
 
  site to the other, so all requests go to the one server.
 
 
  does any body have a recomendation of good, cheap/free , proxy 
for w2000
 
 You don't really need anything so complicated, in fact, the more of 
a 
 general purpose proxy you have the harder it will be to secure it 
to only 
 requesting the subset of files you want.
 
 Assuming you don't need to map http success codes, and it's just a 
straight 
 GET, then the below JScript ASP page is a perfectly reasonable 
proxy.
 
var file=decodeURIComponent(Request.ServerVariables
(QUERY_STRING));
xmlhttp=new ActiveXObject(MSXML2.ServerXMLHTTP)
xmlhttp.open(GET,http://otherserver.com/+file,false);
xmlhttp.send();
Response.Write(xmlhttp.responseText)
 
 call it moomin.asp, then you can request pages on the other server 
with
 
 xmlhttp.open('GET','moomin.asp?/somefile.xml',false);
 
 Of course, you may need a slightly more complicated proxy if you 
want to 
 handle post etc.  but I'd've thought you could manage it easily 
enough in a 
 similar way.
 
 Cheers,
 
 Jim.







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] Re: cross-domain interaction with XMLHTTP

2005-11-09 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, Robin Berjon 
[EMAIL PROTECTED] wrote:

 On Nov 09, 2005, at 11:36, Garry Haywood wrote:
  the html pages that will contain the scripts that request the XML 
are
  on FirstClass Internet Services (which is an embedded appache 
server,
  so its pre-compiled and not updateable)
 
 Can you get any kind of executable script running there?
 
 -- 
 Robin Berjon
 Senior Research Scientist
 Expway, http://expway.com/


yes, it seems we can run cgi / php

so we can probably do similar method as recomeneded by Jim or 
similar...

I'll keep the list posted







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] Re: dom svg interaction

2005-11-08 Thread Garry Haywood
the document.domain must be the same in both documents.

e.g document.doman = mydomain.com



--- In svg-developers@yahoogroups.com, r k [EMAIL PROTECTED] wrote:

 
 I am serving an svg from another location from the original 
document.
 I want that svg document to acces the top level.
 but am not able to. i get an access denied in ASV.
 any way to solve this ?
 thanks
 
 rk
 
 top level file :
 
 site1/main.html
 
 function topfunc() { }
 
 
 embeds
 
 site2/example.svg
 
 function init() { top.topfunc(); }







 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] cross-domain interaction with XMLHTTP

2005-11-08 Thread Garry Haywood
does anyone know of a way I can get XML content from sub1.mydomain.com 
into an embed that is hosted on sub0.mydomain.com

where mydomain.com is the same server, but one is servered via non MS-
web server and the other via IIS (the xml from asp) via two different 
IPs

???

I thought maybe I could add document.domain in a CDATA section in the 
xml, but of course this is not parsed in XMLHTTP request

then I thought maybe I could use the ?access-control 
allow=*.mydomain.com? tag but that is pointless, because the server 
never even gets a request as the load method blocks the call because 
the urls are not equivilent

then i got stuck

any assistance greatly recieved






 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] Re: cross-domain interaction with XMLHTTP

2005-11-08 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, Jim Ley [EMAIL PROTECTED] wrote:

 
 Garry Haywood [EMAIL PROTECTED] wrote in message 
 news:[EMAIL PROTECTED]
  I know with IE I can use a different port (so leave www requests 
on
  port 80 and xml requests on 8080)
 
 Nope xmlhttp request is also limited by the port it can connect to, 
it can 
 only request back to the same port - in a default security 
environment.
 
 Jim.


were you saying 'no, you can't do this in firefox' or 'no you can't 
do this full stop' ?

I can do it with IE

http://www.betamodel.com/v2/xml_test

Garry





 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] Re: cross-domain interaction with XMLHTTP

2005-11-08 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, Jim Ley [EMAIL PROTECTED] wrote:

 site to the other, so all requests go to the one server.


does any body have a recomendation of good, cheap/free , proxy for w2000

???





 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] Re: XMLHTTP and IE DOM

2005-11-04 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] 
wrote:

 Hi Garry,

 Watch your spelling! ;-)
 
 -Jonathan

thanks, that's resolved an error yet to come!

but the real issue how do get object.responseXML into the DOM?





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] Re: XMLHTTP and IE DOM

2005-11-04 Thread Garry Haywood
thanks for help wattie

it's still not working in either IE6 or FF (DPA)

in IE, it gets through the makeTable() function, but has there 
appears to be no firstChild I can't traverse anywhere

in FF, it fails the (req.status == 200) test!
 (which maybe gives us a clue?)


anyway, i repost the script etc



SCRIPT
var req; 

function loadXMLDoc(url) {
req = false; 
// branch for native XMLHttpRequest object 
if(window.XMLHttpRequest) {
try {
req = new XMLHttpRequest(); }
catch(e) 
{ req = false; } 
// branch for IE/Windows ActiveX version 
} 
else if(window.ActiveXObject) { 
try { 
req = new ActiveXObject(Msxml2.XMLHTTP); } 
catch(e) 
{ 
try 
{ 
req = new ActiveXObject(Microsoft.XMLHTTP); 
} catch(e) { 
req = false; } } } 
if(req) {

req.onreadystatechange = processReqChange; 
req.open(GET, url, true); 
req.send(); 
} 
}

function processReqChange() { 
// only if req shows loaded 
if (req.readyState == 4) {
// only if OK 
if (req.status == 200) {

alert(req.responseText);
makeTable(req.responseXML);
} else 
{ 
alert(There was a problem retrieving the XML 
data:\n + req.statusText); 
} 
} 
}

function makeTable(xml_doc){

var child = xml_doc.firstChild


while(child!=null){

if(child.nodeName=='beta'){
  var betaChild = child.firstChild;

  while(betaChild!=null){
alert
(betaChild.getAttribute('col001'))

betaChild = 
betaChild.nextSibling;
  }
}
child = child.nextSibling;
}
}

/SCRIPT 

the script is being called by a button...
INPUT TYPE=button VALUE=Test onclick=loadXMLDoc
('/v2/xml/regions.xml')

this is the content of the regions.xml file
?xml version=1.0 encoding=utf-8 ? 
beta 
nuts1 col001=UKC col002=North East / 
nuts1 col001=UKD col002=North West / 
nuts1 col001=UKE col002=Yorkshire and The Humber / 
nuts1 col001=UKF col002=East Midlands / 
nuts1 col001=UKG col002=West Midlands / 
nuts1 col001=UKH col002=East of England / 
nuts1 col001=UKI col002=London / 
nuts1 col001=UKJ col002=South East / 
nuts1 col001=UKK col002=South West / 
nuts1 col001=UKL col002=Wales / 
nuts1 col001=UKM col002=Scotland / 
nuts1 col001=UKN col002=Northern Ireland / 
/beta

--- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] 
wrote:

 So does it work now or is it still broken? If the latter it would 
be good to
 have some for info. Browser, version etc.
 
 On 11/4/05, Garry Haywood [EMAIL PROTECTED] wrote:
 
  it is probably my confusion 
 
  I know that the request has been sucessful a) it is tested for 
and b)
  req.responseText is the text that I was expecting
 
  however, the firstChild retuns null
 
 
 Which line?
 
 - so I assumed that I wasn't
  actually acessing the dom tree therefore I assumed that maybe 
I
  had to append responseXML to the DOM somehow befor I could acess 
it!!!
 
 
 Nope.
 
 
 [Non-text portions of this message have been removed]







 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 





[svg-developers] XMLHTTP and IE DOM

2005-11-03 Thread Garry Haywood
i'm trying to load some XML into the DOM, for traversing and 
manipulation

the XML is coming across from the server OK, but I can't get to it - 
I'm assuming that I haven't attached it to the DOM correctly (or at 
all)

can any one see a solution here:


SCRIPT
var req; 

function loadXMLDoc(url) { 
req = false; 
// branch for native XMLHttpRequest object 
if(window.XMLHttpRequest) { 
try { 
req = new XMLHttpRequest(); } 
catch(e) 
{ req = false; } 
// branch for IE/Windows ActiveX version 
} 
else if(window.ActiveXObject) { 
try { 
req = new ActiveXObject(Msxml2.XMLHTTP); } 
catch(e) 
{ 
try 
{ 
req = new ActiveXObject(Microsoft.XMLHTTP); 
} catch(e) { 
req = false; } } } 
if(req) { 
req.onreadystatechange = processReqChange; 
req.open(GET, url, true); 
req.send(); 
} 
}

function processReqChange() { 
// only if req shows loaded 
if (req.readyState == 4) { 
// only if OK 
if (req.status == 200) {
//alert(req.responseText);
makeTable(req.responseXML);
} else 
{ 
alert(There was a problem retrieving the XML 
data:\n + req.statusText); 
} 
} 
}

function makeTable(xmlDocument){


var child = xmlDocument.firstChild


while(child!=null){
if(child.nodeName=='beta'){
  var betaChild = child.firstChild;

  while(betaChild!=null){
alert
(betachild.getAttribute('col001'))

betaChild = 
betaChild.nextSibling;
  }
}
child = child.nextSibling;
}
}

/SCRIPT 



INPUT TYPE=button VALUE=Test onclick=loadXMLDoc
('/v2/xml/regions.xml')

?xml version=1.0 encoding=utf-8 ? 
beta 
nuts1 col001=UKC col002=North East / 
nuts1 col001=UKD col002=North West / 
nuts1 col001=UKE col002=Yorkshire and The Humber / 
nuts1 col001=UKF col002=East Midlands / 
nuts1 col001=UKG col002=West Midlands / 
nuts1 col001=UKH col002=East of England / 
nuts1 col001=UKI col002=London / 
nuts1 col001=UKJ col002=South East / 
nuts1 col001=UKK col002=South West / 
nuts1 col001=UKL col002=Wales / 
nuts1 col001=UKM col002=Scotland / 
nuts1 col001=UKN col002=Northern Ireland / 
/beta






 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 





[svg-developers] Re: SVG Pie Charts in a PDA

2005-10-19 Thread Garry Haywood
it would be good if you shared your solution with the list

that way its in archive future use and some of us might learn 
something

cheers

Garry

--- In svg-developers@yahoogroups.com, acl_svg [EMAIL PROTECTED] wrote:

 
 
 We have found another way to represent this type of graphics (with 
M 
 and L commands) and the Pie Chart can be visualized in a PDA without
 mistakes. 
 
 thank you very much for your help.
 
 
 --- In svg-developers@yahoogroups.com, Garry Haywood [EMAIL PROTECTED] 
wrote:
 
  there was also a very good thread a few weeks ago which solved my 
  problem with pie charts, but specifically helped me to understand 
the 
  use of arcs and ellipses
  
  http://groups.yahoo.com/group/svg-developers/message/51838
  
  hope this helps
  
  
  
  --- In svg-developers@yahoogroups.com, Doug Schepers 
[EMAIL PROTECTED] 
  wrote:
  
   Hi, acl-
   
   You can use another path command, like C or Q. You'll need to 
do 
  some math
   to calculate exactly how to make a proper arc segment, but this 
  file should
   help:
http://www.kevlindev.com/samples/tmp/circles.svg
   
   It is the result of a thread here a while back about the 
various 
  ways to
   draw a circle in SVG.
   
   Regards-
   Doug
   
   [EMAIL PROTECTED]
   www.vectoreal.com ...for scalable solutions.

   
   acl_svg wrote:
   | 
   | I want to visualize a Pie Chart in a PDA. 
   | For the time being, I couldn't find the way to see them 
correctly.
   | I have tried several alternatives to represent Pie Chart 
   | using the path label, with the commands A absolut and A 
   | relative, and I don't understand why I can't visualize it 
   | without mistakes. 
   | 
   |  --- Example 1 -
   | 
   | path d=M 350.0 150.0 A 100.0 100.0 0 0 0 301.83905169687813
   | 64.48559934625983 L250.0,150.0 z 
  style=stroke:black;fill:#FFC800/
   | 
   | path d=M 301.83905169687813 64.48559934625983 A 100.0 100.0 
0 0 
  0
   | 215.4630724536883 56.15331313434227 L250.0,150.0 z 
   | style=stroke:black;fill:#FF/
   | 
   | path id=sector2 d=M 215.4630724536883 56.15331313434227 A 
   | 100.0 100.0 0 0 0 159.9028399982932 106.61219342226616 
   | L250.0,150.0 z 
   | style=stroke:black;fill:#FF/
   | 
   | ...
   |   --- Example 2 -
   | 
   |   path d=M15,200 a150,150 0 1,0 300,0 z fill=red 
  stroke=blue 
   | stroke-width=1 /
   |   path d=M60,90 a150,150 0 0,0 -50,100 l150,0 z 
fill=yellow 
   | stroke=blue stroke-width=1 /
   |   path d=M320,190 a150,150 0 0,0 -250,-100 l100,100 z 
   | fill=green stroke=blue stroke-width=1 / 
   | 
   |--- --- -
   | 
   | I have also tried to represent the graphics using Path cubic 
  bezier
   | command: Q, C... but I couldn't generate the same result as I 
   | get when I use the A 
   | command to create a Pie Chart to visualize it in a PC.
   | 
   | I'd like to know if someone has tried to represent a similar 
   | graphic in a PDA. If there is any posibility to visualize it, 
   | I would like to know it.
   | (a PieGraphic example:  http://www.germane-
   | software.com/software/SVG/SVG::Graph/images/pie.svg)
   | Finally, I would like to discover other posibilities to 
   | represent Pie Chart without using A command in order to try 
   | if it's possible to get a suitable result in a PDA.
   | Thanks.
   | 
   |
  
 







 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 






[svg-developers] Re: SVG Pie Charts in a PDA

2005-10-18 Thread Garry Haywood
there was also a very good thread a few weeks ago which solved my 
problem with pie charts, but specifically helped me to understand the 
use of arcs and ellipses

http://groups.yahoo.com/group/svg-developers/message/51838

hope this helps



--- In svg-developers@yahoogroups.com, Doug Schepers [EMAIL PROTECTED] 
wrote:

 Hi, acl-
 
 You can use another path command, like C or Q. You'll need to do 
some math
 to calculate exactly how to make a proper arc segment, but this 
file should
 help:
  http://www.kevlindev.com/samples/tmp/circles.svg
 
 It is the result of a thread here a while back about the various 
ways to
 draw a circle in SVG.
 
 Regards-
 Doug
 
 [EMAIL PROTECTED]
 www.vectoreal.com ...for scalable solutions.
  
 
 acl_svg wrote:
 | 
 | I want to visualize a Pie Chart in a PDA. 
 | For the time being, I couldn't find the way to see them correctly.
 | I have tried several alternatives to represent Pie Chart 
 | using the path label, with the commands A absolut and A 
 | relative, and I don't understand why I can't visualize it 
 | without mistakes. 
 | 
 |  --- Example 1 -
 | 
 | path d=M 350.0 150.0 A 100.0 100.0 0 0 0 301.83905169687813
 | 64.48559934625983 L250.0,150.0 z 
style=stroke:black;fill:#FFC800/
 | 
 | path d=M 301.83905169687813 64.48559934625983 A 100.0 100.0 0 0 
0
 | 215.4630724536883 56.15331313434227 L250.0,150.0 z 
 | style=stroke:black;fill:#FF/
 | 
 | path id=sector2 d=M 215.4630724536883 56.15331313434227 A 
 | 100.0 100.0 0 0 0 159.9028399982932 106.61219342226616 
 | L250.0,150.0 z 
 | style=stroke:black;fill:#FF/
 | 
 | ...
 |   --- Example 2 -
 | 
 |   path d=M15,200 a150,150 0 1,0 300,0 z fill=red 
stroke=blue 
 | stroke-width=1 /
 |   path d=M60,90 a150,150 0 0,0 -50,100 l150,0 z fill=yellow 
 | stroke=blue stroke-width=1 /
 |   path d=M320,190 a150,150 0 0,0 -250,-100 l100,100 z 
 | fill=green stroke=blue stroke-width=1 / 
 | 
 |--- --- -
 | 
 | I have also tried to represent the graphics using Path cubic 
bezier
 | command: Q, C... but I couldn't generate the same result as I 
 | get when I use the A 
 | command to create a Pie Chart to visualize it in a PC.
 | 
 | I'd like to know if someone has tried to represent a similar 
 | graphic in a PDA. If there is any posibility to visualize it, 
 | I would like to know it.
 | (a PieGraphic example:  http://www.germane-
 | software.com/software/SVG/SVG::Graph/images/pie.svg)
 | Finally, I would like to discover other posibilities to 
 | represent Pie Chart without using A command in order to try 
 | if it's possible to get a suitable result in a PDA.
 | Thanks.
 | 
 |







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 






[svg-developers] Re: parseXML doesnt split up XML nodes

2005-10-18 Thread Garry Haywood
I think that Olaf has pointed out the solution,

I thought I would chime in a little, because it seems that what you 
are seeing is the root node for *this* newly added XML segment

your data is in child nodes of this node, as per Olaf's explanation

--- In svg-developers@yahoogroups.com, Olaf Schnabel [EMAIL PROTECTED] 
wrote:

 Hi nasenma25
 
 In my opinion you get the root element back, if you ask for 
 xmldoc.childNodes. Try xmldoc.documentElement.childNodes;
 
  var xmldoc = parseXML(obj.content);
  var nodes = xmldoc.childNodes;
  alert(ln: +nodes.length);
 
 Hope it helps.
 Olaf
 
 -- 
 Olaf Schnabel
 Department of Cartography
 Swiss Federal Institute of Technology (ETH)
 ETH Hoenggerberg, CH-8093  Zurich, Switzerland
 phone: ++41 44 633 3031
 e-mail: [EMAIL PROTECTED]
 www: http://www.ika.ethz.ch/schnabel







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 






[svg-developers] Re: very urgent

2005-09-22 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, arthycharm [EMAIL PROTECTED] 
wrote:
 hai Garry,
 
 thanx for your reply.that was what i expected.but a small note you
 have helped in the area where in a single groupid you have circles
 with specific id .but what i have used is every circle will be in
 induvidual group id .there would be one circle in one groupid.and i
 have to connect circles of different group id.
 
 being beginner i tried with your code but i have not suceeded,can
 provide me some more suggestions
 
 
 thanx  regards,
 arthy.

the issue your dealing here is not whether they are in a group or 
not, i put them in a group for eas of use

the methodology i chose was to assume you don't have a fixed set of 
circles, but that you can tarverse the DOM looking them in some kind 
of relationship... in the method i did this by putting them in the 
group and simply traversing the group

but you could traverse the DOM looking for tagName=circ or 
something else that identifies your circles - maybe the group names 
have a commun element or something, but this would take longer and 
you would need a more flexible looping system to take account

perhaps if you submit your SVG we could help you a little more

Garry




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] SwiNE Support

2005-09-21 Thread Garry Haywood
does anyone know if there are any SWiNE support groups forums etc out 
there.

SWiNE is a really useful widget kit, imho, but because it lacks 
documentation it can take a while to get you head round bits

I can now make widgets willy-nilly but'id like to be able to make some 
stylistic and layout changes and I just cannot fathom some of the 
inheritance chains

any way, any info or interest please let me know

G




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] Re: very urgent

2005-09-21 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, Samuel Dagan [EMAIL PROTECTED] 
wrote:
 Hi Arty Charm,
   I would use scripting. Cheers, Samy
 
 
 --- In svg-developers@yahoogroups.com, arthycharm 
[EMAIL PROTECTED] 
 wrote:
  
  hi ,
  
  i have a program done in svg. it looks like this,
  
  you have four circles,each designed by means of a group id
  
  as
  g id =2
  circ.
  title
  desc
  /g
  g id=3..
  .
  .
  .
  /g
  similarly all the circles
  
  suppose i have to connect circle with id=2 to circle with 
 id=3,4,5
  i am in need to get the values of all the the other circles
  ie.,cx and cy values.
  how is it possible to get the cx and cy values.
  is there any suggestions,
  please help me.
  
  regards, 
  arthy.

hi arthy,

this script below does the business

basically the circles are number c1...c4 in a group


on a mouseover, 

we get the cx,cy of the target circle

then we run through the other circles in the group

for each other circle we get it cx,cy

and create a line (in another group) between the circls

on mouseout rund through the line group and remve all the lines


voila!

svg width=169.33mm height=127mm 
xmlns=http://www.w3.org/2000/svg; preserveAspectRatio=xMidYMid 
meet zoomAndPan=magnify
   script type=text/ecmascript![CDATA[var SVGDoc;

function mouseout(evt){

SVGDoc = evt.getTarget.getOwnerDocument()

var lines = document.getElementById(lines);

var child = lines.firstChild;
while (child!=null){
lines.removeChild(child)
child = lines.firstChild;
}

}


function mouseover(evt){

SVGDoc = evt.getTarget.getOwnerDocument()

var lines = document.getElementById(lines);

var currentCircle = {}
currentCircle.id = evt.target.getAttribute(id);
currentCircle.cx = evt.target.getAttribute(cx);
currentCircle.cy = evt.target.getAttribute(cy);

var circles = document.getElementById(circles);

var child = circles.firstChild;
child=child.nextSibling;
while (child!=null){
if (child.getAttribute(id)!=currentCircle.id){
var otherCircle = {}
otherCircle.id = child.getAttribute
(id);
otherCircle.cx = child.getAttribute
(cx);
otherCircle.cy = child.getAttribute
(cy);

var line = SVGDoc.createElement(line);
line.setAttribute(id,currentCircle.id 
+ '_to_' + otherCircle.id);
line.setAttribute(x1,currentCircle.cx);
line.setAttribute(y1,currentCircle.cy);
line.setAttribute(x2,otherCircle.cx);
line.setAttribute(y2,otherCircle.cy);
line.setAttribute(stroke,red);
line.setAttribute(stroke-width,1);
lines.appendChild(line);
}
child=child.nextSibling;
child=child.nextSibling;
}

}
   
   ]]
   /script
   !-- Created 22/09/2005 from XStudio 6.0 --
   g id=circles onmouseover=mouseover(evt) onmouseout=mouseout
(evt) transform=matrix(1,0,0,1,-7.61926,-22.0113)
  circle cx=102 cy=121 r=42 id=c1 /
  circle cx=347 cy=127 r=42 id=c2 /
  circle cx=110 cy=320 r=43 id=c3 /
  circle cx=360 cy=326 r=38 id=c4 /
   /g
   g id=lines

   /g
/svg





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] Re: changing polygon points

2005-09-05 Thread Garry Haywood
I solved this!!!

Ater a long while tracing the process I relised that I was not 
removing the coords that I was trying to replace, but adding the new 
coords just before it

thanks to anywone that looked!

Garry

the solution was to take the index and shortne the points string 
after the loop!



--- In svg-developers@yahoogroups.com, Garry Haywood [EMAIL PROTECTED] 
wrote:
 Hi
 
 i'm trying to change a pair of points in a polygon TAR (6 sets, 4 
 of which can be changed)
 
 //the new points are assigned to a string]
 nuPts = (rx) + ',' + (ry);
 
 //the existing points are 
 ptsStr = document.getElementById(TAR).getAttribute(points);
 
 
 //set some var for looping through the ptsStr
  var i=1;
  var startStr='',endStr='',startSteInd='';
 
 //cnt is assigned earlier via a switch to determine w
 //which set of points is being replaced
 // - it is never the first or last
 
  while (i = cnt)
  {
 
  window.status = 'i: ' + i
  //get index of first space - assumes space is seperator
  // of coords system
  ind = ptsStr.indexOf( );
  
  //puts the first part into a var
  startStr = startStr + ptsStr.substring(0,ind+1);
  
  //puts remainining into itself
  ptsStr = ptsStr.substring(ind+1);
  
  // increase iteration
  i++;
  
  }  // loops ends when established first part of string
  
  //rebulid points
  nuStr = startStr + nuPts + ptsStr;
 
  document.getElementById(display).firstChild.setData(nuStr) 
   
  if (polyChk==1){
 document.getElementById(TAR).setAttribute(points,nuStr);
  }
 
 if i don't have the polygon change the 'nuStr' var contains the 
 correct points info
 
 yet when I try to set the polygon, it just doesn't take the string 
 but seems to add the new points over and over again
 
 
 a version of this can be a seen at 
 
 http://svg.betamodel.com/radar1.svg
 
 any clues ?
 
 Thanks in advance
 
 Garry





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 





[svg-developers] Re: SVG doesn't open correctly

2005-09-05 Thread Garry Haywood
if you're using IIS5  IIS 5.0
 then I have prepared a little step through here with pictures:

http://www.betamodel.com/iis5_and_svg_mimetype

regards

Garry



--- In svg-developers@yahoogroups.com, Samuel Dagan [EMAIL PROTECTED] 
wrote:
 Hi dfi10x,
   It seems that the MIME type for SVG is not defined correctly at 
 your server. Look at 
 http://www.svgfaq.com/ServerGen.asp
 for more details.
   By the way, do you have a regular name?
   Cheers and good luck, Samy
 
 
 --- In svg-developers@yahoogroups.com, dfi10x [EMAIL PROTECTED] wrote:
  Hello,
  
  I got the following problem.
  If i open this svg File from my webserver i get the following 
error 
  (IE):
  ###
  Die XML-Seite kann nicht angezeigt werden 
  Die XML-Eingabe kann nicht angezeigt werden, wenn Stylesheet XSL 
  verwendet wird. Beheben Sie den Fehler und klicken Sie dann auf 
  Aktualisieren, oder wiederholen Sie den Vorgang spä´¥r. 
  
  
  --
--
 -
  ---
  
  Das Verwenden von Standard-Namespacedeklarationsattributen wird 
in 
  DTD nicht unterst?Fehler beim Bearbeiten der Ressou...
  
  svg id=svgbody width=984 height=432 xml:space=preserve 
  ###
  
  In English:
  ###
  The XML-Site can't be displayed
  The XML-EINGABE can't be displayed, if Stylesheet XSL is used. 
  Correct the error and click refresh, or try again later.
  --
  Using of standard-namespacedeclaratin is not supported in DTD. 
 Error 
  handling the ressour
  svg id=svgbody width=984 height=432 xml:space=preserve 
  ###
  
  (Firefox):
  
  Mit dieser XML-Datei sind anscheinend keine Style-
  Informationen verkn?Nachfolgend wird die Baum-Ansicht des 
  Dokuments angezeigt.
  In english:
  There is no style information connected to this XML file. 
  Subsequent the Tree-View of the document is shown.

  (thats the Tree-View):
  svg id=svgbody width=984 height=432 
  xml:space=preserve
  defs
  pattern id=backgound patternUnits=userSpaceOnUse x=0 
  y=0 width=10 height=10
  image xlink:href=/csp/ui/csp/img/statbkgr_patern.gif 
  x=0 y=0 width=10 height=10 style=opacity:1; image-
  rendering=optimizeSpeed/
  /pattern
  /defs
  rect x=0 y=0 width=984 height=432 style=fill: url
  (#backgound)/
  text x=492 y=20 style=text-anchor:middle;dominant-
  baseline:mathematical;font-family:Verdana;font-
  size:13;fill:black;pointer-events:none;Ü¢erschrift/text
  /svg
  
  
  
  
  Heres the code from the svg file:
  ###
  ?xml version=1.0 encoding=utf-8?
  !DOCTYPE svg PUBLIC -//W3C//DTD SVG 2303 
  Stylable//EN   http://www.w3.org/TR/2000/03/WD-SVG-
  2303/DTD/svg-2303-stylable.dtd [
  !ENTITY header 'text-anchor:middle;dominant-
  baseline:mathematical;font-family:Verdana;font-
  size:13;fill:black;pointer-events:none;'
  ]
  svg id=svgbody width=984 height=432 xml:space=preserve 
  defs
  pattern id=backgound 
  patternUnits=userSpaceOnUse x=0 y=0 width=10 height=10
  image 
  xlink:href=/csp/ui/csp/img/statbkgr_patern.gif x=0 y=0 
  width=10 height=10 style=opacity:1; image-
  rendering=optimizeSpeed /
  /pattern
  /defs
  rect x=0 y=0 width=984 height=432 style=fill: url
  (#backgound)/
  text  x='492' y='20' 
  style='header;'#220;berschrift/text
  /svg
  ###
  
  But if i open the file locally, its displayed with no error...
  
  So whats wrong?





 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] changing polygon points

2005-09-04 Thread Garry Haywood
Hi

i'm trying to change a pair of points in a polygon TAR (6 sets, 4 
of which can be changed)

//the new points are assigned to a string]
nuPts = (rx) + ',' + (ry);

//the existing points are 
ptsStr = document.getElementById(TAR).getAttribute(points);


//set some var for looping through the ptsStr
 var i=1;
 var startStr='',endStr='',startSteInd='';

//cnt is assigned earlier via a switch to determine w
//which set of points is being replaced
// - it is never the first or last

 while (i = cnt)
 {

 window.status = 'i: ' + i
 //get index of first space - assumes space is seperator
 // of coords system
 ind = ptsStr.indexOf( );
 
 //puts the first part into a var
 startStr = startStr + ptsStr.substring(0,ind+1);
 
 //puts remainining into itself
 ptsStr = ptsStr.substring(ind+1);
 
 // increase iteration
 i++;
 
 }  // loops ends when established first part of string
 
 //rebulid points
 nuStr = startStr + nuPts + ptsStr;

 document.getElementById(display).firstChild.setData(nuStr) 

 if (polyChk==1){
document.getElementById(TAR).setAttribute(points,nuStr);
 }

if i don't have the polygon change the 'nuStr' var contains the 
correct points info

yet when I try to set the polygon, it just doesn't take the string 
but seems to add the new points over and over again


a version of this can be a seen at 

http://svg.betamodel.com/radar1.svg

any clues ?

Thanks in advance

Garry





 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] Re: The Worm Has Turned ?

2005-09-03 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, Francis Hemsher 
[EMAIL PROTECTED] wrote:
 Reading the posts on this list, just over the last month or so, has 
 warmed the cockles of my heart.  There are serious developers that 
are 
 trying to make SVG work. C++ and Java folks are, for some reason, 
 taking much effort to apply SVG to their apps.
 
 I wonder why this is so?

because we all need to express our data as graphics, 

as a picture says more than a thousand words

and SVG rocks... limitations and all






 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM
~- 

-
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/

* 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/
 




[svg-developers] anchor and cursors

2005-07-28 Thread Garry Haywood

in the search of cursor solution for ASV I saw a demo with an anchor 
A tag wrapped around a rectangle - this changes the cursor to be a 
finger pointer (in IE at least)

is there any reason why this should not be used in lieu of cursors 
being implemented in the viewer? 



svg xmlns=http://www.w3.org/2000/svg; 
   a
  rect x=165 y=97 width=206 height=48 rx=8 
transform=matrix(0.651165,0,0,0.549018,57.38,43.3808) onclick=alert
(apos;you said what?apos;) /
   /a
   text x=178 y=112 fill=rgb(236,0,0) font-size=16pt pointer-
events=none transform=matrix(1,0,0,1,-9.61937,6.73352)button 
cursor/text
/svg





-
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/

* 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/
 




[svg-developers] Re: Programming Environment

2005-07-28 Thread Garry Haywood
you might also want to look at Kev Lindens Game of life implmentation 
in SVG, 

http://www.kevlindev.com/alife/life/

GoL is a matricised occupation simulation so most of the 
impelemntation may help you

Peace!

--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] 
wrote:
 Bob Hunter schrieb:
 
  This may seem like a dumb question, but is there another way to 
  program SVGs
  other than Javascript.  I've developed a pretty sophisticated 
command and
  control application using just Javascript and SVG.  However, 
we're looking
  at exporting it to some Asian markets where stealing your code is 
rampant.
  So, now I'm looking for some sort of compiled code method of 
doing 
  this app.
 
 
 
  I realized that I have very little code that actually runs inside 
the SVG.
  For the most part, I add event listeners for the mouse and handle 
all 
  of the
  interactivity through Javascript outside the SVG.  The Javascript 
uses DOM
  methods to add back animateMotions, paths, etc. to accomplish the
  interactivity.
 
 
 
  Can this be done equally well from a Java applet?  Is there 
something 
  better
  than Java for this purpose?
 
 
 that depends on your personaly likes and dislikes. you might want 
to 
 look at Renesis ( http://www.gosvg.net/ ) which supports C#.
 
 
  Thanks,
 
 
 
  Bob
 




-
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/

* 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/
 





[svg-developers] Re: example code

2005-07-28 Thread Garry Haywood
If you are looking to display this as astatic SVG this shouild be 
very easy

you just need for each 22 or 21 the coords in your matrix

I would have each scenario implemented for avaiablity in XML

scenario id=scene_001
  terrain x=1 y=1 occupier=21/
  terrain x=2 y=1 occupier=21/
  terrain x=3 y=1 occupier=21/
  terrain x=4 y=1 occupier=22/
  ...
  terrain x=150 y=150 occupier=22/
/scenario

then you could use XSLT or ECMAScript to convert this
 to rect in  SVG Dom: take each location, use it inform the 
atribbutue values of rects or circles etc

svg width=150 height150
  rect x=1 y=1 height=1 width=1 fill=rgb(255,0,0)/
  rect x=2 y=1 height=1 width=1 fill=rgb(255,0,0)/
  rect x=3 y=1 height=1 width=1 fill=rgb(255,0,0)/
  rect x=4 y=1 height=1 width=1 fill=rgb(255,0,255)/
  ...
  terrain x=150 y=150 height=1 width=1 fill=rgb(0,0,255)/
/svg

HTH

Garry





--- In svg-developers@yahoogroups.com, reindeer21005 
[EMAIL PROTECTED] wrote:
 I am new to SVG and not even sure if an SVG application is the right
 approach.!
 
 It is a 2D problem consisting of 150 x 150 values representaive of
 terrain ownership -
 
 150 rows -   .   .   ...   .
   .   .   ...   .
  22  22  22   21   22  22
  22  22  21   21   22  22
   .   .   .  ....   .
   .   .   .  ....   .
  22  22  22  ...   22  22
 ^
 |
  150 cols
 
 
  a value of 22 means RED forces own that sub-area and I want to
 place a red rectangle there and a 21 is BLUE and I will place a 
blue
 rectangle there.  
 
 The result will be 2D grid of blue and red rectangles.
 
 First is SVG a possibility ?  Assuming it is, what steps should I 
take
 to get the actual SVG ?  That is to get from a file of 21s and 22s
 to a pleasing 2D representation that one can look at and make 
decisions.
 Should I write some Java and/or XSLT ?  I am a programmer familiar
 with Java, XML, ...  and will teach myself SVG if I should.
 
 Any positive suggestions are appreciated.
 
 - Andrew M. Neiderer
   US Army Research Lab




-
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/

* 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/
 




[svg-developers] Re: example code

2005-07-28 Thread Garry Haywood
you might also want to look at Kev Lindsey's Game of Life 
implmentation
in SVG,

http://www.kevlindev.com/alife/life/

GoL is a matricised occupation simulation so most of the
impelemntation may be of help to you

Peace!

--- In svg-developers@yahoogroups.com, Garry Haywood [EMAIL PROTECTED] 
wrote:
 If you are looking to display this as astatic SVG this shouild be 
 very easy
 
 you just need for each 22 or 21 the coords in your matrix
 
 I would have each scenario implemented for avaiablity in XML
 
 scenario id=scene_001
   terrain x=1 y=1 occupier=21/
   terrain x=2 y=1 occupier=21/
   terrain x=3 y=1 occupier=21/
   terrain x=4 y=1 occupier=22/
   ...
   terrain x=150 y=150 occupier=22/
 /scenario
 
 then you could use XSLT or ECMAScript to convert this
  to rect in  SVG Dom: take each location, use it inform the 
 atribbutue values of rects or circles etc
 
 svg width=150 height150
   rect x=1 y=1 height=1 width=1 fill=rgb(255,0,0)/
   rect x=2 y=1 height=1 width=1 fill=rgb(255,0,0)/
   rect x=3 y=1 height=1 width=1 fill=rgb(255,0,0)/
   rect x=4 y=1 height=1 width=1 fill=rgb(255,0,255)/
   ...
   terrain x=150 y=150 height=1 width=1 fill=rgb
(0,0,255)/
 /svg
 
 HTH
 
 Garry
 
 
 
 
 
 --- In svg-developers@yahoogroups.com, reindeer21005 
 [EMAIL PROTECTED] wrote:
  I am new to SVG and not even sure if an SVG application is the 
right
  approach.!
  
  It is a 2D problem consisting of 150 x 150 values representaive of
  terrain ownership -
  
  150 rows -   .   .   ...   .
.   .   ...   .
   22  22  22   21   22  22
   22  22  21   21   22  22
.   .   .  ....   .
.   .   .  ....   .
   22  22  22  ...   22  22
  ^
  |
   150 cols
  
  
   a value of 22 means RED forces own that sub-area and I want to
  place a red rectangle there and a 21 is BLUE and I will place a 
 blue
  rectangle there.  
  
  The result will be 2D grid of blue and red rectangles.
  
  First is SVG a possibility ?  Assuming it is, what steps should I 
 take
  to get the actual SVG ?  That is to get from a file of 21s and 22s
  to a pleasing 2D representation that one can look at and make 
 decisions.
  Should I write some Java and/or XSLT ?  I am a programmer familiar
  with Java, XML, ...  and will teach myself SVG if I should.
  
  Any positive suggestions are appreciated.
  
  - Andrew M. Neiderer
US Army Research Lab




-
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/

* 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/
 





[svg-developers] Re: Highlighting question

2005-07-23 Thread Garry Haywood
on the mouseOver issue - i can't tell why it's happening, but I can 
tell you what is happening...

i loaded a map - rolled the mouse around, and after a few mouseOvers 
there was some overs that wouldn't show, but these seemed to be 
repeatable

so I really zoomed in

at this point I noticed that the lines allso have different mouseOver 
function

rolling quickly from one polygon, over path, onto the next polygon 
seems to create the condition 

first polygone - mouseOver - changes state - fill grey
   - MouseOut - changes state - fill defualt
line   - mouseOver - change state - stroke blue
   - mouseOut - change state - stoke default
next polyGon   - mouseOver - failed

rolling mouse slowly doesn't fail the mousOver

this suggest it is an instruction set problem, and that the viewers 
you are using cannot handle the focus change so quickly

i have no idea how you might change this... just letting you know 
what I saw





--- In svg-developers@yahoogroups.com, Bart [EMAIL PROTECTED] wrote:
 (cross-posted because of question overlap)
 
 Hey all,
 
 
 I'm building a map interface and the mouseover
 events don't seem to trigger like I think they should. 
 
 I essentially have three data types, namely 
 points, lines and areas, which are:
   circle (fill only, stroke:none, pointer-events: visibleFill), 
   line (stroke only, fill:none, pointer-events: visibleStroke) and 
   area (fill only, stroke:none, pointer-events: visibleFill) 
 elements in SVG (the CSS set via classes).
 
 
 However, it seems to regularly decide to
 not react or decide a part of an area isn't part of
 it in terms of mouseover. 
 
 `It' being ASV3 and Batik (I havent tested on
 more), which seem to do do the same thing,
 so it may be because of data,  although the
 viewers seems to differ a little in what areas
 they react to, and it may be my delusion but
 it also seems to vary with zoom level even
 when zooming is just viewBox alteration.
 
 
 Possibly related is the fact that the help button
 seems to sometimes stop working. Event overload,
 perhaps?
 
 
 The SVG is at:
 http://svg.scarfboy.com/newiface/test.svg
 (I may be working on it and break it)
 
 The simplest example layer would be 'quads':
 the left area only responds to part of it,
 apparently only on the right (and bottom)
 sides of it.  
 
 
 
 Another question: most of it seems to work in
 Batik, except dragging (which I disabled and
 reimplemented), which makes squiggle
 stop drawing. Any idea what could cause
 it to react like that?
 
 
 Greet,
 --Bart




-
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/

* 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/
 




[svg-developers] text, cursor, overlays, etc

2005-07-23 Thread Garry Haywood
in ASV3 - and some other browser - because of the lack of cursor 
implementation we use a shape overlay to stop the text tool being 
avaiable on non-editable text

because asv6 has cursor this is not essential

however, would you say it was still good practice?

g id='non_editable_text'
 text id='text'hello world/text
 rect id='overlay'/
/g




-
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/

* 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/
 




[svg-developers] ASV 6 Stability

2005-07-21 Thread Garry Haywood
How stable is AV6 ?

There are few items in ASV that we'd like to bring forward into client 
work.

The users will be discreetly supported, so using ASV - and getting them 
to download is no problem and offer support is same.

The issues are:
 stability - will it survive user mania? 
 compatibility - will it run alongside asv3?
   - is it backwards-compatible with asv3?








-
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/

* 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/
 




[svg-developers] Re: Gauss with rounded corner

2005-07-20 Thread Garry Haywood
you may also want add the x and y to the filter with negative amounts 
so you can see the full effect of the filter

glad it worked for you

Garry

svg xmlns=http://www.w3.org/2000/svg; width=100% height=100%
desc
!-- put a description here --
/desc
  defs
filter id=gaussFilter x=-100% y=-100% width=500% 
height=500% 
  feGaussianBlur stdDeviation=4 /
  feOffset dx=1.0 dy=2.0 /
/filter
  /defs
  rect id=underlying
rx=5 ry=5 width=117 height=23.0 
x=333.3
y=300.0
class=gauss filter=url(#gaussFilter) 
set attributeName=fill attributeType=CSS
  begin=button.click to=red/
  /rect
  rect id=button height=20.0 rx=5 ry=5 stroke=black 
width=112.5
x=333.3 y=300.0
set attributeName=fill attributeType=CSS
  begin=click to=red/
  /rect

/svg

--- In svg-developers@yahoogroups.com, Manuel Ca񳮠L󰥺 
[EMAIL PROTECTED] wrote:
 
  
  The effect of the Gaussian filtr is to spread out the element by 
  diffusion - as result what you seeing is not that the blur has 
square 
  corners, you are just seeing a limited view
  
   Great... I did not realize until now of the limited view...
 
  Can i suggest that, for test purposes, you do the following:
  
  1) Move the underlying element away from the button so you can 
see 
  some changes
  
  2) add height and width to the filter element by %
try 100% , 400%, 800%
  
  3) change the StD of the blur
try 10 5 2
  
  4) change the rx and ry of your underlying rect
try 115  65   40  20
  
  I think this might help you understand what the filter is doing
  
Yes, it did! thanks
 
  i changed your code like this
  
  svg xmlns=http://www.w3.org/2000/svg; width=100% 
height=100%
  desc
  !-- put a description here --
  /desc
defs
  filter id=gaussFilter width=800% height=800% 
feGaussianBlur stdDeviation=5.0/
feOffset dx=4.0 dy=2.0/
  /filter
/defs
rect id=underlying
  rx=20 ry=20 width=117 height=23.0 
  x=333.3
  y=300.0
  class=gauss filter=url(#gaussFilter) 
  set attributeName=fill attributeType=CSS
begin=element1.click to=red/
/rect
rect id=button height=20.0 rx=5 ry=5 
stroke=black 
  width=112.5
  x=333.3 y=300.0
  set attributeName=fill attributeType=CSS
begin=element1.click to=red/
/rect
  
  /svg
  
  please let me know if this helps...
 
  It helped a lot, overall the width and height filter attribute.. 
now it
 looks great.
 
 Thanks again!




-
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/

* 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/
 




[svg-developers] Re: Adobe SVG Zone with new design

2005-07-19 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] 
wrote:
 Hi Everyone
 
 maybe i m a bit late, but anyone noticed that Adobe has redesigned 
their 
 SVG pages:
 
 http://www.adobe.com/svg/
 
 Adobe has taken a leadership role in the development of the SVG 
 specification and continues to ensure that its authoring tools are 
SVG 
 compatible.
 
 thats a clear sign, that Adobe will not drop SVG support :-)
 
 all the best
 Holger

I suspect that amongst their motives the purchase of Macromedia is to 
make Flash player capable of playing both SWF/SVG - this will give 
the much better desktop penetration, and remove some of the 
competetion for their creation tools and at the same time expand 
their competencies. 

Adobe (for all their sins) have been pretty good at player the 
standards game, and although PDF is proprieray format they have 
pretty much 'opened' it up post-definition and as long as you use 
their definition they have been pretty relaxed about copyright 
control - to the point where they encourage 3rd party software 
development...

I also think their commitment to open standards like SVG will play 
nicely with the anti-trust regulators in the US and Europe. 











-
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/

* 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/
 




[svg-developers] Re: [that damned] beginElement()

2005-07-18 Thread Garry Haywood
  the question remains:
 
  what is the best way to programmtically begin an animation that 
you
  have added thru the DOM ?
 
 i would still say beginElement is the way to go.
  one way that is stable, add the animate tag by hand, and just 
change 
 the attributes via script.
 
 hth
 Holger

the beginElement() method does not work in this context - we have 
established that i think

yes, an alternative is add the animate to the defs and link to it 
when the object has been created (i'll probably also do this from a 
defs too) -- although I havent tested this method yet(!)

agains, Holder, thanks for your thoughts 

Garry





-
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/

* 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/
 




[svg-developers] Re: how to draw rialroad line style in SVG

2005-07-18 Thread Garry Haywood
--- In svg-developers@yahoogroups.com, zhg331 [EMAIL PROTECTED] wrote:
 any help?
 --- In svg-developers@yahoogroups.com, zhg331 [EMAIL PROTECTED] wrote:
  Hi group, I am a beginner with SVG. I want to know is there any way 
 to 
  draw railroad-like line with SVG. many thanks

If you mean is there a style for the line element that would give you 
a double-line, then I think the answer is no






-
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/

* 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/