Blog Stats
  • Posts - 62
  • Articles - 11
  • Comments - 10
  • Trackbacks - 55

 

February 2005 Entries

Ruby pearl

“Time spent in the debugger is time stolen from the development clock” Wise. http://www.rubycentral.com/

XML Next

XML Next: if you don't deliver, others will... More on the subject here

Tabular XSD

A sample can save me a thousand words:<?xml version="2.0" ?> <Products> <row>0012345|Flat Monitor |21ABCDE| 21|987.65</row> <row>0012346|Internet Keyboard|99ABCDF| 32|986.64</row> <row>0012347|Laser Printer |44ABCDG| 5|985.63</row> <row>0012348|Wireless Mouse |11ABCDH|108|984.62</row... <!-- repeat 10000 times --> </Products> <?xml version="2.0"?> <schema id="Products" namespace="..."> <element name="Products" type="xsd:table">...

Tabular XML

I have to agree I abused the journalistic bible by using an eye-catching title.It should have been 'Tabular XML' since it has nothing to do with the relational world but with table-like structures. First, even if you use elements, attributes or gzip compression, the fact that for every record you will repeat all the properties is a no-no, no matter how you spin it.For short examples in academia, it looks nice using a couple of attributes, but when you start facing day-to-day challenges like transmitting...

Relational XML

How difficult is it to understand that half the data exchanged in XML are object graphs and the other half are tables?How dificult is it to adapt XML to express tables then? Here is a cheap shot.<?xml version="2.0" ?> <member id="1234"> <name>john doe</name> <phone>555-1234</p... <family xsd:type="table"> <row>name |age|address |city |st|zip |phone </row> <row>john doe | 32|123 nw 45 st|miami|fl|33133|555-1234&... <row>jane...

 

 

Copyright © RebelGeekz