Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: how to approach COMPACT XML format??

From: "Paul de Vries" <paul.de.vries@-------.-->
To: NULL
Date: 12/1/2004 12:55:00 PM
i think the "9" stands for tab

but i cannot replace for "," because certain data may contain ","

i really don't know anything about XSL
could you( or anyone else ) help me with the howto's in a XSL ??

for sure is that the <COLUMNS> part is the key, because that will the field 
descriptor
the <DATA> is the records

grtz, Paul


"skar" <skarface4@h...> wrote in message 
news:uKgi5O61EHA.1260@T......
>I don't have much experience in compact xml, but this may work:
> Questions the attribute Char="9" what does it mean? Well whatever it means
> we can use that as the delimiter.  Assuming it means 9 spaces (which is 
> not
> the case!!)
>
> you can write an xsl to extract the info contained in this xml and 
> transform
> the content to a csv file.  The key will be in modifying char="9" 
> delimiter
> to ","
> your csv file can then be imported into access or any other db.
>
> good luck
> Skar
> "Paul de Vries" <paul.de.vries@t...> wrote in message
> news:QPgrd.6071$_F1.357467@p......
>> hi guys, i got a weird thing
>>
>> some server gives back COMPACT XML
>>
>> that means
>>
>> <ROOTNODE>
>> <DELIMITER Char="9"/>
>>     <COLUMNS>    Column1    Column2    Column3    Column4    Column5
>> </COLUMNS>
>>     <DATA>    Data1    Data2    Data3    Data4    Data5    </DATA>
>>     <DATA>    Data11    Data21    Data31    Data41    Data51    </DATA>
>>     <DATA>    Data12   Data22   Data32    Data42    Data52    </DATA>
>>     <DATA>    Data13    Data23    Data33    Data43    Data53    </DATA>
>>     <DATA>    Data14    Data24    Data34    Data44    Data54    </DATA>
>>     <DATA>    Data15        Data35        Data54    </DATA>
>> </ROOTNODE>
>>
>> I understand this schema myself, but how can i
>>
>> how would i be able to store this information in a database, either
> MS-SQL,
>> Microsoft Access
>>
>> thanx for brainstorming with me
>>
>> grtz, Paul
>>
>>
>
> 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent