Andrew, So the 'red forces' are still a cause for concern then? :)
I would think that XSLT -> SVG would work fine for this, and be pretty straightforward. Another possibility would be to use XForms with xf:repeat, which would make your rows and columns fall out *really* easily (just a couple of lines of mark-up). You would then use XBL to make each 'cell' into some SVG (or anything else, for that matter). Regards, Mark Mark Birbeck CEO x-port.net Ltd. e: [EMAIL PROTECTED] t: +44 (0) 20 7689 9232 w: http://www.formsPlayer.com/ b: http://internet-apps.blogspot.com/ Download our XForms processor from http://www.formsPlayer.com/ > -----Original Message----- > From: svg-developers@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of reindeer21005 > Sent: 27 July 2005 12:09 > To: svg-developers@yahoogroups.com > Subject: [svg-developers] example code > > 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 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/