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 3 1467
why use xml and xlst when all you need to do is show it on a browser ?
its a good idea if you can have any particular type of file transform...
..say xls download or tab download etc... in that case you just load the
corresponding xslt... and transform..
but in this case.. just use DataGrid.... use auto generation of columns for
datagrid....... bind the dataset...
HTH
--
Regards,
HD
"Hai Nguyen" <ha******@neo.t amu.edu> wrote in message
news:eT******** ******@TK2MSFTN GP09.phx.gbl... 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
Hai Nguyen wrote: 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.
see XmlDocument.Sav e method http://msdn.microsoft.com/library/de...ssavetopic.asp
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.....
do you need to use XSLT, are you sending the file elsewhere for display?
Otherwise, a DataGrid can read in such a file (since it's a DataSet)
and you can define a custom display format using template
columns....othe rwise, if you do need XSLT, then you need to read up on
it, as you are asking exactly what it does and is for.
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
You are right. I have to send the file to user so that they can keep their
file. That's the requirement.
I would like to know how i can do that
Thank for all your help so far. I need more a little tip I will be fine.
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.....
do you need to use XSLT, are you sending the file elsewhere for display? Otherwise, a DataGrid can read in such a file (since it's a DataSet) and you can define a custom display format using template columns....othe rwise, if you do need XSLT, then you need to read up on it, as you are asking exactly what it does and is for.
"Craig Deelsnyder" <cdeelsny@NO_SP AM_4_MEyahoo.co m> wrote in message
news:uB******** ******@TK2MSFTN GP09.phx.gbl... Hai Nguyen wrote:
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.
see XmlDocument.Sav e method http://msdn.microsoft.com/library/de...ssavetopic.asp
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.....
do you need to use XSLT, are you sending the file elsewhere for display? Otherwise, a DataGrid can read in such a file (since it's a DataSet) and you can define a custom display format using template columns....othe rwise, if you do need XSLT, then you need to read up on it, as you are asking exactly what it does and is for.
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Hai Nguyen |
last post by:
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
|
by: JSwinney |
last post by:
Greetings!
I know this kind of question gets asked here almost daily, but as a
newbie I have sort of a twist: I'm needing to take some reports I've
written in Access that link to Btrieve files thru an ODBC connection,
and create a run time app using Office Developer's Edition so that my
customers can run the reports using the native Btrieve data. *whew*
All of my customers have the same Btrieve file structures and
identical indices. ...
|
by: Rahul Agarwal |
last post by:
Hi
We use few .xml and .xsl files in our web application and we found that
these files even though fairly static gets downloaded to the client's
machine everytime the page is refreshed.
What should be the http header or what attributes in http header should be
added to avoid downloading of these files everytime on user's machine.
Please help
|
by: Haffe |
last post by:
I'm trying to get something back from a server. The communication
between is XML.
But I can't make it work.
My asp.net code (doesn't work!):
Dim requestText, serverResponseText As String
Dim xmlServerHttp As New MSXML2.XMLHTTPClass
|
by: |
last post by:
I have been researching articles on google on how to create a simple RSS
feed that sucks <title><blurb><link><date> out of a sql server 2000 database
via an aspx page.
I know it has to be pushed into a <xml> document but not sure which
direction to take.
Is there perhaps a starter document which uses sql server as the data source
I can tap into.
| |
by: Christoph Wienands |
last post by:
Hi everybody,
I'm stuck with a stuppid problem that I didn't anticipate. I have a web
method that received two de3serialized objects as parameters. The web
service was auto-generated from a WSDL file. What I didn't consider
initially is that I have to log the oroginal XML of each parameter into a
database.
Of course I could serialize the object again but first I'd do the work
twice, second if the XML gets extended but my object model...
|
by: Luigi |
last post by:
Hi to all!
I'm writing many XML and XSD files which are the base configuration
files for my application. In order to document within such files what
I'm doing and why, I add some verbose explanations with many <!-- ...
--> tags.
I wold like to know whether it exists or not something like a doxygen
or javadoc tool (and syntax) for XML and XSD documentation in order to
generate automatic html (at least) documentation for the content...
|
by: jfbevilaqua |
last post by:
Does anyone know of a utility or a method (VBA or otherwise)
to be able to export ALL 100+ MS Access Queries from an Access
Table into individual text files perhaps ending with .sql so they can
be parsed and converted by my program into SQL Server sProcs?
I need a Mass Exporter not a one at a time manual equivalent.
Please reply directly to: jfbevilaqua@gmail.com
Thanks.
|
by: vikramb |
last post by:
HI
Iam working on a task in which i need to refresh the tomcat cache with out restarting it when there is any new entry in the properties file ,
My question is
in the server.xml if we add <context path = /.... reloadable = true> , i think this will reload the app only if there is any change in java files
In the work folder if there is any timestamp difference between .jsp and .class it will recompile
how to deal...
|
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...
|
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...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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();...
|
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...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |