473,761 Members | 2,455 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2629
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!P LEASEtkachenko. com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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.WriteXM L() 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1604
by: Larry | last post by:
I am a C++/Java programmer trying to get going with some simpe xml transformations at work here. I bought the O'Reilly book Learning xlst for kicks. Someone at work sent me this xml shown below, they wanted me to try to output some simple text which summarizes the basic data in the xml and do it without perl. After that I guess they will want me to convert other xml files into some kind of text file I am assuming. I downloaded xalan, but...
2
1697
by: joe | last post by:
Hello: I'd really appreciate some feedback, bacause I've been stuck for two days with this. I am trying to parse XML returns from a certain website, sent back in response to my URL queries. The root node of the returned XML has a namespace instruction that I cannot get rid of. Why do I want to do that, you may ask? Well, I' m really a newbie with XML/XLST/XPath and so on, but I know that If I paste the XML return into a new XML document, ...
3
1473
by: Hai Nguyen | last post by:
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>
9
1374
by: Steve | last post by:
I have an XML control on a page which is populated dynamically from an XML string and then transformed using an external XLST file. This works perfectly. Once a user competes parts of the XML form on the page contained within the XML control, I want to extract the FULL XML content as a string. How do I do this. TIA
3
1094
by: Nilay Shah | last post by:
Hi, I am in the design process of web application. And during this I have a question as which should be used and in which cases? Should you go for Web forms utilizing all the features of asp.net server controls or should you create presentation layer using XML and XSL and not use many of the features of asp.net.. In which of the scenario each technology should be used?
5
1352
by: JusPassinThrough | last post by:
I have a client that has an existing website of about 100 pages. He wants those pages translated into 3 different languages. He currently uses a third party translation source who suggested that a good solution would be to use xml to hold all the text for the site then use xslt to generate a the pages. I've attempted to implement this on a page , but the web page loses the functionality of the webcontrols rendered through xml & xslt....
6
1176
by: Stan R. | last post by:
One more question if I may. From what I've gathered, usually you include the XSLT template right into your main xml doc you're working with, like: <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="test.xsl"?> My question is, is it possible to have the main xml doc in one file (say, main.xml), but have a seperate xml file for the transformations
4
7016
by: =?Utf-8?B?Sm9iIExvdA==?= | last post by:
how can persist schema for a sql server table into an xml file from .net application? thanks
1
1970
by: dave_kajinsky | last post by:
Hello all, I would like to do something with xlst, perhaps I can get help from this group? Here it goes: I've got 2 files: an ascii file and a file that identifies tokens in the ascii file. For example the ascii file could be:
0
10111
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9948
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6603
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3866
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.