|
Author |
Topic: XML Parsing (Read 1162 times) |
|
Jerronimo
|
XML Parsing
« on: Oct 28th, 2003, 3:08am » |
|
I was wondering if there was any sort of XML Parsing functionality scheduled for future versions of Processing... For a project at work, I've been using MinML2 http://www.wilson.co.uk/xml/minml2.htm (It's got a BSD-style license.) I was working on a layer to make it even easier to use... adding a DOM-like query mechanism to it. I'm just thinking that people might want to use XML files for data or something like that. When P5 goes open source, I'll gladly add this functionality in myself. I personally would find use for it.
|
|
|
|
Koenie
|
Re: XML Parsing
« Reply #1 on: Oct 28th, 2003, 4:45pm » |
|
Maybe you can try implementing some XML parsing stuff yourself. Shouldn't be too hard, I guess, since XML is only text. Koenie
|
http://koeniedesign.com
|
|
|
fry
|
Re: XML Parsing
« Reply #2 on: Oct 28th, 2003, 6:38pm » |
|
on Oct 28th, 2003, 3:08am, Jerronimo wrote:I was wondering if there was any sort of XML Parsing functionality scheduled for future versions of Processing... |
| probably not.. there are lots of libraries out there, and i'm not much of an xml hacker myself, so i don't want to make my own library for it. for now, you can use the xml stuff from java 1.4 from within the environment (at least on windows and linux which uses java 1.4), or you can drop an xml library into the 'code' folder and have it included in your project. this is probably the route we'll stick with.
|
|
|
|
Jerronimo
|
Re: XML Parsing
« Reply #3 on: Oct 28th, 2003, 7:14pm » |
|
okey. Sounds good.
|
|
|
|
mKoser
|
Re: XML Parsing
« Reply #4 on: Oct 28th, 2003, 7:17pm » |
|
if you start playing with this, will you let us know how it goes? ...maybe even a tutorial in 'how-to-do-xml-in-processing' ?
|
mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
|
|
|
Jerronimo
|
Re: XML Parsing
« Reply #5 on: Oct 28th, 2003, 7:40pm » |
|
Yup. No problem. Do you know of any 2D or 3D file formats that use XML? That seems to be the easiest way to do this...
|
« Last Edit: Oct 28th, 2003, 7:41pm by Jerronimo » |
|
|
|
|
Koenie
|
Re: XML Parsing
« Reply #6 on: Oct 28th, 2003, 8:17pm » |
|
The most famous I know are SVG and VML, both 2D vector imaging formats. Koenie
|
http://koeniedesign.com
|
|
|
zblace
|
Re: XML Parsing
« Reply #7 on: Jun 12th, 2004, 1:01am » |
|
Blender.org is working towards XML version of existing .blend binary format.
|
|
|
|
|