|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: hi all
karthik bala guru wrote:
>What could be the modifications that i need to do to the XML Generator(Genx)
>to make it a XHTML Generator Tool ?
>
>
Well, all you have to do is create XHTML elements using Genx function
calls, something like:
#include <stdio.h>
|#include <genx.h>
int main()
{
genxWriter w = genxNew(NULL, NULL, NULL);
FILE *f = fopen("myxhtml.html", "w");
genxElement html, head, title; // etc.
genxNamespace xhtmlns;
genxStatus status;
xhtmlns = genxDeclareNamespace(w, "http://www.w3.org/1999/xhtml", "html", &status);
html = genxDeclareElement(w, html, "html", &status);
... // etc.
Mike
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||






