473,908 Members | 6,345 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help on XML formating ???

Dear all,

I have a dataset with a certain amount of data.
After a while I send those data to an XML file.

What I would like to do is that when the data has been send to the file,
they are correctly formatted for beeing seen in explorer ans real data
instead of XML tags.

Fro aexample I would like to display the column name and correcsponding
column data, properly aligned.

How can I do that ?
Do I need to used XML shema file, if yes how to generate it ?

Thanks for your help
regard
serge
Jul 21 '05 #1
2 1185
Thnaks for your info.

Do u hav any good links or sample how to do this becasue I ma totally new in
the XML .

Thnaks for your help

"Alon Fliess" wrote:
serge calderara <se************ @discussions.mi crosoft.com> wrote in message news:<D4******* *************** ************@mi crosoft.com>...
Dear all,

I have a dataset with a certain amount of data.
After a while I send those data to an XML file.

What I would like to do is that when the data has been send to the file,
they are correctly formatted for beeing seen in explorer ans real data
instead of XML tags.

Fro aexample I would like to display the column name and correcsponding
column data, properly aligned.

How can I do that ?
Do I need to used XML shema file, if yes how to generate it ?

Thanks for your help
regard
serge


Hi

One way of doing it is to convert the XML to HTML using XSLT. There
are two options:
1) Do it in memory before you write the file.
2) Add an XSL processor and XSL script to the resulting XML, and the
browser will execute the XSLT.

Alon Fliess

Jul 21 '05 #2
serge calderara <se************ @discussions.mi crosoft.com> wrote in message news:<44******* *************** ************@mi crosoft.com>...
Thnaks for your info.

Do u hav any good links or sample how to do this becasue I ma totally new in
the XML .

Thnaks for your help

"Alon Fliess" wrote:
serge calderara <se************ @discussions.mi crosoft.com> wrote in message news:<D4******* *************** ************@mi crosoft.com>...
Dear all,

I have a dataset with a certain amount of data.
After a while I send those data to an XML file.

What I would like to do is that when the data has been send to the file,
they are correctly formatted for beeing seen in explorer ans real data
instead of XML tags.

Fro aexample I would like to display the column name and correcsponding
column data, properly aligned.

How can I do that ?
Do I need to used XML shema file, if yes how to generate it ?

Thanks for your help
regard
serge


Hi

One way of doing it is to convert the XML to HTML using XSLT. There
are two options:
1) Do it in memory before you write the file.
2) Add an XSL processor and XSL script to the resulting XML, and the
browser will execute the XSLT.

Alon Fliess


Hi

The best tutorial and help that I know, is on the MSDN.

http://msdn.microsoft.com/xml/default.aspx
http://msdn.microsoft.com/library/de...l/xmmscXML.asp

Alon
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1493
by: Jamie Fryatt | last post by:
I have a querystring that passes through the value 001 for example, the form on the receiving page need to display that number but with 1 added to it. i have dim strnum strnum = request.querystring("value") strnum = strnum + 1
2
1717
by: The Pistoleer | last post by:
I'm looking for information (links) on formating a page intended for printing. Something more refined than the browser print menu, which tends to pring extra information in the header and footer. Pete http://www.Pistoleer.com Retail & Wholesale (PH/FX 618-288-4588) _________________________________________________________________ A-Zoom snap-caps, Bore-Stores cases, Kleen-Bore gun care products Official Targets, Pachmayr grips/pads,...
0
926
by: Gustavo Trunci | last post by:
Hi I am using VS 2003 and in one project the IDE is not formating the code anymore. It only formats when I run the project. On other project on the same machine it works fine. I compared the options (Tools - Options) on noth projects but could not find any diference. Any idea ??
2
1649
by: rudy | last post by:
I am trying to highlight the output of a field to display something similar to conditional formating. Would prefer to display the result with a code instead of a colored font or colored background for the sake of using a black and white printer. i.e. if >= 20 then H for highly skilled or >= 15 then S for Skilled Even though the colors work there is only three options to select from under Conditional Formatiting (unless there's a way...
0
1489
by: rodrigo guerra | last post by:
where i can change the code formating that visual studio does in the code.... like if i type: if ( ) { .... } visual studio changes to:
1
1221
by: stevenrec | last post by:
I'm back. Do not use queries too often and have trouble formating a field: misc: if((!)='2';"Normal)"; if((!)='8';"Extra") Basically want it to check the number in the <order_typefield and if it is 2, type Normal and if it is 8 type Extra. Thought I could get it to work with IIF, but have not had any luck yet.
1
2559
by: Shawn Northrop | last post by:
I just read an article on kirupa.com about incorporating mySQL and PHP with flash. I am dynamically loading conent into a flash movie and am not sure how to format. In my php code i have: $y = ""; foreach($result as $x){ $y = $y . $x . " "; } print "myVar = $y"; In short $result is a query and $y is the value i will be passing along to flash. the statement $y = $y . $x . " "; puts a space between each name that is passed along. I am...
2
1755
by: sitko | last post by:
Hi, I'm in the process of converting a VB.net program into a C program so it can run on a unix like machine. I've been moving along at a nice pace, but this conversion has stumped me. I need a function to take two arguments:(a double number which may or may not be an integer, and an integer which will be the number of digits to store after the decimal place) it needs to turn this into a string which is always 10 characters long. if the...
6
1527
by: sitko | last post by:
Hi, I've continued with my VB->C conversion, and have it working on the Linux box, now I'm going back and getting it to work on the Windows box. Something strange occurred and I thought I'd try to get you guys input on it. The code: fprintf(datFile, "%10d%10.3e%10.2f%10.3f\n",(intIndex*100+intPart),gdblX,gdblY,gdblZ);
0
1111
by: Tyler | last post by:
I have a database with many subforms formated as "single forms". I am having trouble formating the forms so they display propers (fill the box on the main form, don't have scroll bars, don't have different color bars around them, etc.) I want the subforms to look like they are part of the main form. Any ideas or websites you could send me to would be appreciated. Thanks in advance.
0
9875
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11337
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...
1
11042
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10536
tracyyun
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...
1
8094
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
6134
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4770
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
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3355
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.