473,795 Members | 2,630 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

generating xml and html

Hi all,

I would like to generate xml from a structure, e.g.:
Dictionary <key, valueArraymyDic t;
Into :
<myDict>
<key>key</key>
<valueArray>
<value>1</value>
<value>2</value>
<value>3</value>
</valueArray>
</myDict>

What is the keyword I should google on for that?

Now I want to make an html from that xml into a web page that will
show
myDict: 1, 2, 3

What is the keyword I should google on for this one?

Thanks a lot for your help

O
Aug 17 '08 #1
2 1265
The XmlTextWriter class comes to mind but recently LINQ to XML appears to be
a better solution to learn for generating XML. Secondly, transforming XML to
HTML is done using XSLT or CSS where the key word is XSLT(ransformat ion)
noting some of the controls that provide native support for reading well
formed XML are fast and easy to use when wanting quick drag and drop
feedback.
"orsula" <or******@gmail .comwrote in message
news:05******** *************** ***********@34g 2000hsh.googleg roups.com...
Hi all,

I would like to generate xml from a structure, e.g.:
Dictionary <key, valueArraymyDic t;
Into :
<myDict>
<key>key</key>
<valueArray>
<value>1</value>
<value>2</value>
<value>3</value>
</valueArray>
</myDict>

What is the keyword I should google on for that?

Now I want to make an html from that xml into a web page that will
show
myDict: 1, 2, 3

What is the keyword I should google on for this one?

Thanks a lot for your help

O
Aug 17 '08 #2
On Aug 17, 5:47*pm, "HillBilly" <someb...@somew here.comwrote:
The XmlTextWriter class comes to mind but recently LINQ to XML appears tobe
a better solution to learn for generating XML. Secondly, transforming XMLto
HTML is done using XSLT or CSS where the key word is XSLT(ransformat ion)
noting some of the controls that provide native support for reading well
formed XML are fast and easy to use when wanting quick drag and drop
feedback.

"orsula" <orsul...@gmail .comwrote in message

news:05******** *************** ***********@34g 2000hsh.googleg roups.com...
Hi all,
I would like to generate xml from a structure, e.g.:
Dictionary <key, valueArraymyDic t;
Into :
<myDict>
* <key>key</key>
* <valueArray>
<value>1</value>
<value>2</value>
<value>3</value>
* </valueArray>
</myDict>
What is the keyword I should google on for that?
Now I want to make an html from that xml into a web page that will
show
myDict: 1, 2, 3
What is the keyword I should google on for this one?
Thanks a lot for your help
O- Hide quoted text -

- Show quoted text -
Thanks!
Aug 18 '08 #3

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

Similar topics

0
1907
by: Dan Gass | last post by:
The difflib.py module and the diff.py tools script in Python 2.4 alpha 3 now support generating side by side (with intra line differences) in HTML format. I have found this useful for performing build release comparisons (I use a script to generate a main page showing all the files that were changed in a build with hyperlinks to side by side differences for each of those files). I also find it useful for generating HTML test reports to...
0
1793
by: Xah Lee | last post by:
# -*- coding: utf-8 -*- # Python # David Eppstein of the Geometry Junkyard fame gave this elegant # version for returing all possible pairs from a range of n numbers. def combo2(n): return dict() print combo2(5)
13
2395
by: Michele Simionato | last post by:
What is the recommended way of generating HTML from Python? I know of HTMLGen and of few recipes in the Cookbook, but is there something which is more or less standard? Also, are there plans to include a module for HTML generation in the standard library? I really would like to see some standardization in this area. Michele Simionato
17
2140
by: flupke | last post by:
Hi, i create my GUIs mainly via wxGlade. However when you start of to program and want to do some rearranging to the gui, wxglade overwrites your file and you've got to put your own code back in. I think i can work around that (at least a bit) by making a second file that imports the gui generated by wxglade and make classes that extend the original ones. For instance i could have a class MainForm that extends the wxFrame
14
2603
by: Philippe C. Martin | last post by:
Hi, I wish to use an easy way to generate reports from wxPython and feel wxHtmlEasyPrinting could be a good solution. I now need to generate the HTML wxHtmlEasyPrinting can print: I need to have a title followed by lines of text that do not look too ugly. If possible I would like to use an existing module. Q1) Is there such a module ?
2
1350
by: cnickl | last post by:
I’m using the usual VisualStudio setup. That is to have a “Code Behind” (somename.aspx.vb) file with all the code and the actual HTML code somename.aspx) separate. I like this setup, but now I want to generate some text and HTML code output using VB code and I want it to be placed in the <body> part of my somename.aspx. If I use the Response.Write() method the text is put in the beginning of the file. How can I generate text and HTML...
3
1894
by: daniele.balducci | last post by:
Hi All, I'm generating XLS files from ASP(.Net) code using the usual code chunks ... Response.ContentType = "application/vnd.ms-excel" Response.AppendHeader("Content-Disposition", "attachment; filename=""" & NomeFile & """") Response.Flush() Response.write("<table border=""1"" .....
1
1562
by: Ryan Ginstrom | last post by:
I have been maintaining a body of documentation in plain HTML files. I would now like to automate the generation of the HTML files. Maintaining the HTML files now is tedious and error prone, because every time I move/remove/add a section, I have to renumber the following sections and update my internal links. I have looked at some of the HTML-generation frameworks, but the selection is somewhat bewildering, and most also seem geared to...
1
3242
by: Xah Lee | last post by:
The following is a program to generate thumbnail images for a website. Useful, if you want to do that. It is used to generate the thumbnails for my “Banners, Damsels, and Mores” project gallery. ( http://xahlee.org/Periodic_dosage_dir/lanci/lanci.html ) Comments and versions in other lang welcome. Xah
6
1552
by: Lloyd Sheen | last post by:
Perhaps I have missed something but what I would like to do is have a more "controlled" method of generating HTML from a web service. I can create items using HtmlTable, HtmlTableRow, and HtmlTableCell but is there a quick method once the table has been built to get the HTML, put it in a string for return the browser call for the web service? I notice that HtmlTable does not support InnerHtml so that is not doable. Ideas??
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9519
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,...
1
10164
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
10001
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
7540
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
6780
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
5437
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
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.