W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 1999

asxml and xhtml settings ???

From: Douglas Cook <cookd@cs.byu.edu>
Date: Mon, 26 Jul 1999 15:18:49 -0700
To: Tidy <html-tidy@w3.org>
Message-id: <002701bed7b4$d5d713c0$54741482@kodiak.pnl.gov>
Maybe I'm not understanding something, but I came across something that
doesn't look right in the code.

The option -asxml is supposed to make tidy output XML, but it seems like it
is outputting XHTML instead.  Change line 713 from "xHTML = yes;" to "XmlOut
= yes;" to fix the problem.

Another idea I had (since I need both XHTML and XML capability) is to add a
command line option for xHTML, adding

            else if (strcmp(arg, "asxhtml") == 0)
                xHTML = yes;

right below line 713.

Thanks!

=-=-=-=-=-=-=-=-=-=-=-=-=-=
Douglas Cook - MCP
mailto:cookd@cs.byu.edu
=-=-=-=-=-=-=-=-=-=-=-=-=-=
Received on Monday, 26 July 1999 21:43:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT