Groups | Blog | Home
all groups > dotnet xml > october 2005 >

dotnet xml : xml transformation question


Martin Honnen
10/7/2005 12:00:00 AM


[quoted text, click to view]

XSLT transforms an input tree into a result tree which is then
serialized as XML or as HTML or as text. The input tree is usually built
by parsing some input XML.
With that standard approach I don't see XSLT helpful to get data in a
CSV format into an SQL data base server, there are certainly ways to
import that CSV data into a data base without using XSLT.
Ask in a data base group how to import the CSV data into your data base.


--

Martin Honnen --- MVP XML
-00Eric Clapton
10/7/2005 12:00:00 AM
How can I use the XML and XSLT to transfer data from CSV to SQL server?
Thanks.

Pascal Schmitt
10/7/2005 8:37:45 PM
Hello!

[quoted text, click to view]

But it is possible to write custom XmlReader-s that simulate XML for
CSV-Files.

[quoted text, click to view]

This should be possible with Microsoft Access...



--
Martin Honnen
10/7/2005 8:43:44 PM


[quoted text, click to view]

That is possible but I am not sure why anyone would want to do that or
need that to get a CSV imported into a relational data base.

--

Martin Honnen --- MVP XML
-00Eric Clapton
10/12/2005 12:00:00 AM
I am just curious. What are the uses of XML and XSLT?


[quoted text, click to view]

Pascal Schmitt
10/12/2005 7:41:27 AM
[quoted text, click to view]

Well... XML is just a "language" to exchange Tree-like data structures.
As XML is a W3C-"standard", there exist many parsers for nearly every
platform wich makes the use easier - you can concentrate on using the
data instead of parsing some custom file format.

XSLT is used to transform one XML tree into another. Thus you can export
for example WordML from Microsoft Word 2003 and transform it into any
XML-based format you want (DocBook, XHTML, OpenDocument).


--
AddThis Social Bookmark Button