469,647 Members | 1,679 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,647 developers. It's quick & easy.

Access to (XML + XLST) to file.

I would like to know after transforming my datatables which store in dataset
into XML form. Now I want to save it into a file and also create a XLST file
to read it. How can I do that? Would you give me any advice or link to
further my understandings.

Thanks for any clues
Nov 12 '05 #1
3 2482
Hai Nguyen wrote:
I would like to know after transforming my datatables which store in dataset
into XML form. Now I want to save it into a file and also create a XLST file
to read it.

Well, could you please elaborate the question? Feel free to post some
code and samples.
--
Oleg Tkachenko
XML Insider
http://www.tkachenko.com/blog
Nov 12 '05 #2
Sorry I don't have code yet. I'm asking for solutions which can help me
solve the problem. This is the first time I have to cope this situation,
hence I'm clueless how to start. I would like to ask for some ideas then I
can start from scratch.

Let's say: I have a dataset which has a table Customers (which retrieves
from an Access Database)
1/ I convert it into XML format, it should look like this
<Customer>
<Name>...</Name>
<SSN>....<SSN<
...
</Customer>
My Question for this is how can I write it into a file.

2/ Second, I want to view it in any browser by providing it a XLST format;
otherwise I also need to provide XLST to read the XML as well

My Question for this is: how can I make XLST format generic since the
table can always be different. It's not always Customers, it can be
Contacts, Addresses.....

I appreciate for any ideas
Thanks

PS: The way I describe above may be not efficient. If there are other ways,
please instruct me)

"Oleg Tkachenko" <oleg@NO!SPAM!PLEASEtkachenko.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hai Nguyen wrote:
I would like to know after transforming my datatables which store in dataset into XML form. Now I want to save it into a file and also create a XLST file to read it.

Well, could you please elaborate the question? Feel free to post some
code and samples.
--
Oleg Tkachenko
XML Insider
http://www.tkachenko.com/blog

Nov 12 '05 #3
Hai Nguyen wrote:
Let's say: I have a dataset which has a table Customers (which retrieves
from an Access Database)
1/ I convert it into XML format, it should look like this
<Customer>
<Name>...</Name>
<SSN>....<SSN<
...
</Customer>
My Question for this is how can I write it into a file.
It depends on how do you "convert it into XML format". Usually all you
need is to call DataSet.WriteXML() method.
2/ Second, I want to view it in any browser by providing it a XLST format;
otherwise I also need to provide XLST to read the XML as well

My Question for this is: how can I make XLST format generic since the
table can always be different. It's not always Customers, it can be
Contacts, Addresses.....

Well, generally such XSLT hardly can be generic. But as you are trying
to transform tabular data you can write such "generic" stylesheet, which
blindly outputs provided data in tables.
--
Oleg Tkachenko
XML Insider
http://www.tkachenko.com/blog
Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Hai Nguyen | last post: by
9 posts views Thread by Steve | last post: by
3 posts views Thread by Nilay Shah | last post: by
5 posts views Thread by JusPassinThrough | last post: by
6 posts views Thread by Stan R. | last post: by
4 posts views Thread by =?Utf-8?B?Sm9iIExvdA==?= | last post: by
1 post views Thread by dave_kajinsky | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.