Altova Mailing List Archives


Re: [xml-dev] hi all

From: karthik bala guru <bluekarthik@-----.--->
To: Mike Fitzgerald <mikefz@------.--->
Date: 7/1/2004 4:23:00 AM
ok, Thatz fine & Coooooooool,
Has anyone did some XHTML Generator using Genx
and available in the opensource using the
above said method by Mr.Mike?
If so, could you kindly give me the link or
the tool name of the XHTML Generator ?

Thanks an Regards,
karthik bala guru


--- Mike Fitzgerald <mikefz@w...> wrote:
> 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
> |
> 
> 
> 
>
-----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org
> <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at
> http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the
> subscription
> manager:
> <http://www.oasis-open.org/mlmanage/index.php>
> 
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.