The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
HTML to csv ganga.dharan Shell Programming and Scripting 3 01-24-2008 06:50 PM
How do I extract text only from html file without HTML tag los111 UNIX for Dummies Questions & Answers 4 11-28-2007 04:40 AM
need help with html button mike171562 Shell Programming and Scripting 0 07-17-2007 05:09 PM
Converting HTML to CSV Jexel UNIX for Dummies Questions & Answers 3 03-18-2007 08:44 PM
perl and html marcpascual Shell Programming and Scripting 8 09-21-2005 07:47 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-23-2007
phani_sree phani_sree is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 52
regarding html in c

i wnt to generate dynamic xml in c
ima using gcc compiler.
can u show me the way.
thank u
  #2 (permalink)  
Old 06-23-2007
ilko_partizan's Avatar
ilko_partizan ilko_partizan is offline
Registered User
  
 

Join Date: Apr 2007
Location: EU, Bulgaria
Posts: 33
You can generate xml code with expat lib.
http://expat.sourceforge.net/

Best regards,
Iliyan Varshilov

Last edited by ilko_partizan; 06-23-2007 at 10:58 AM..
  #3 (permalink)  
Old 06-25-2007
phani_sree phani_sree is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 52
thank u,
but i need to generate dynamic html usin unix,c.
how it can be possible
  #4 (permalink)  
Old 06-25-2007
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
HTML is just text, so you can generate HTML very easily. How to do depends on what you would like to do with the generated HTML, and what you exactly mean by "dynamic HTML".

If you don't explain what kind of situation clearly, others will not know what you want.
  #5 (permalink)  
Old 06-25-2007
phani_sree phani_sree is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 52
thank u .
iam storing data in xml file.
i want show this data using html .
  #6 (permalink)  
Old 06-25-2007
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
If you have data in XML, and want to generate HTML text, you can create an XSLT stylesheet to transform XML into HTML, or you can write a C program that reads the XML with a library such as expat or xerces to generate HTML output with the DOM API.

And what do you mean by "show"? The C program generates HTML as output? Is the output used in a CGI environment? Or the C program has an embedded browser inside for displaying the HTML?

Again, if you are not explicit about what you want, it is difficult for others to help you.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0