World: r3wp
[XML] xml related conversations
older newer | first last |
Geomol 12-Apr-2006 [377x2] | I remember talk a few years ago, that MS would make their .doc format XML based. And people thought, that would mean, it would become an 'open' format, which could now be read and written by any wordprocessor. If you have somehing like: #{78797A7138373837} in binary, and choose to make it into XML: <xyzq>8787</xyzq> does that make you know, what it mean? No, of course not. Some MS employee later told in an interview, that MS of course would guard their IP - 'intellectual property'. I don't know, where the story ended, and I don't care much, as I keep away from MS formats. |
If you choose to have your doc formats in something like the XML-based OpenDocument, where every tag is explained in an open specification, then it can be used. (Only problem then is XML itself with it's problems.) | |
Maxim 12-Apr-2006 [379x3] | saved out a 15 cell spread sheet in microsoft xml yesterday... 58kb of data HAHAHHAHAHAHAHA |
geomol, does RebXML handle namespaces and unicode? | |
Geomol, just looked over rebxml... I've build a similar engine, even simpler actually. but it might become a little bit smarter in a few weeks... maybe supporting more of the XML 1.0 specs like &chars conversion and such. | |
Pekr 12-Apr-2006 [382] | maxim - have you used Gawain's xml parser, or is it your own one? |
Maxim 12-Apr-2006 [383x5] | my own when I started the project I did not have many days to "get on with it" and for various reasons all the tools I tried didn't properly load the specification I was trying to load. |
but there where some errors in the datafile itself, in the begining. | |
it had to do with http dowloading of the chunks... | |
my tool currenctly loads 1MB of xml tags in under a second. its almost as fast as load/markup. | |
yet builds a nested block of blocks much like RebXML. | |
Pekr 12-Apr-2006 [388] | does it work SAX way or DOM way? I mean - load first, then parse, or parse while reading way? |
Maxim 12-Apr-2006 [389x2] | it does all in one shot. I read through the string once and have a nifty recursion with tail handling. |
I want to try out with rebcode one day. it would probably go about 10 times faster or more. | |
Pekr 12-Apr-2006 [391] | hmm, I think that our problem is not lack of speed, but lack of fully compliant xml parser at first.... |
Maxim 12-Apr-2006 [392x2] | yep. |
reading the xml spec... its no wonder. | |
Pekr 12-Apr-2006 [394] | no wonder what? |
Rebolek 12-Apr-2006 [395] | pekr: no wonder there's still no fully compliant xml parser |
[unknown: 9] 12-Apr-2006 [396] | my god reading the w3c spec for XML is insane. LOL |
Allen 12-Apr-2006 [397] | I always thought the c in W3c meant committee not consortium. ;-) |
Geomol 13-Apr-2006 [398] | Maxim yes, RebXML can handle namespace tags and unicode. |
Maxim 13-Apr-2006 [399] | Geomol, you might just have made yourself a new user :-) I'll try to stress-test RebXML next week, gauging speed, features and stability. |
Maxim 20-Apr-2006 [400] | anyone know if any XML Schema integration has been done in REBOL? |
[unknown: 9] 21-Apr-2006 [401] | We have done a little in Qtask. WE save the tasks as XML (and call it XLS so that Excel can load it). We will be writing an RSS reader soon. |
Graham 25-Apr-2006 [402x4] | there's a new script in the library %rebelxml.r ( not sure why it isn't rebolxml.r ) |
what's the difference between RebXML, and rebelxml and other implementations? | |
which is best to use? | |
( I know nothing really of XML .. just know I have to parse some data, and rewrite out my data as xml ) | |
Maxim 25-Apr-2006 [406] | I'm using rebxml as the loader and then write a dialect over it to convert to my preffered (easier to use) block format. |
Graham 25-Apr-2006 [407] | what do think of this new script ? |
Maxim 25-Apr-2006 [408x3] | Its news to me, but in my useage, Its easier for me to have rebol loaded blocks, cause I can use path notation directly, in order to access the data, just as if they where objects. |
I must admit that just by looking at the docs, I prefer Geomol's solution better, its more approachable. | |
that's my 2 cents. and a 2 minute overlook of rebelxml.r | |
Graham 25-Apr-2006 [411] | Where's your script ? :) |
Maxim 25-Apr-2006 [412x2] | rebxml can be found here, with docs :-) http://home.tiscali.dk/john.niclasen/rebxml/ |
also, although I have not looked at rebelxml in this regard, rebxml handles many of the xml idiosyncracies in the XML specification like empty tags, CDATA blocks, and some level of character conversion to handle unicode and & escaped chars. | |
Geomol 26-Apr-2006 [414] | Great to see my work is being used! :-) |
Joe 26-Apr-2006 [415] | How does rebxml compare to gavin withead xml-parser.r ? |
Maxim 26-Apr-2006 [416] | its easy to use? and will get your job done within minutes of trying. ;-) |
Joe 26-Apr-2006 [417] | I used Gavin's code in the past and found very complete and useful, specially when using xml-object.r |
Maxim 26-Apr-2006 [418] | it seems powerfull, but I had a hard type getting it to work. I WAS pressed for time though. |
Gabriele 27-Apr-2006 [419x3] | speaking of XPath (Reichart's msg on Altme group), I wonder if there's need for it in the community? |
1) people want XSLT and XPath in rebol, because it's the standard and so on. 2) people want a dialect that offerst XSLT/XPath-like functionality to work on REBOL trees (as opposed to XML) 3) noone cares about representing data as trees in REBOL because dialects are much better anyway | |
(pick your choice :) | |
yeksoon 27-Apr-2006 [422] | why not post this on REBOLTalk.com forum as a poll? have AltMe, ML user participate in this poll |
Gabriele 27-Apr-2006 [423] | i'm just trying to get some ideas. not a real poll. but maybe we can post this on reboltalk too. |
Sunanda 27-Apr-2006 [424] | I'd lead towards 3. But that's because I heft XML into REBOL objects and fiddle with it from there. That gets away from the strict hierachy of XML, so I don't need to think about basically insane things like XSLT's axis processing |
Maxim 27-Apr-2006 [425x2] | and we already have data as trees in rebol, nested blocks and objects... so I don't think its going to help much. |
although getting XML:schema LOAD/SAVE , complete, native XML 1.0 LOAD/SAVE that would at least allow us to start using XML in the first place ;-) | |
older newer | first last |