Edzo A. Botjes wrote:
> Dear mr General,
>
> (Sir yes Sir)
>   
:-)

> Sorry for that. But I do have  serious question, but probably a dump one.
> I have an xml file that i want to convert to a jason file using babel.
>
> This XML structure is the one I use, but babel transforms this into an
> empty js file.
>
> <collection>
> <items>
>   <label>  some value   </label>
>   <type>  some value   </type>
>   <function>  some value   </function>
>   <unit>  some value   </unit>
>   <date>  some value   </date<
> </items>
> <items>..</items>
> <items>..</items>
> </collection>
>
> What structure should I use for babel to understand?
>   
Unfortunately, Babel can't convert from generic XML. There is a fixed 
list of formats... including RDF/XML, N3, tab separated values, etc. Is 
it easy for you to convert your XML to tab separated values (just a 
spreadsheet)?

David

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to