logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re[2]: XMLC decided to change the HTML structure: msg#00031

java.enhydra.xmlc

Subject: Re[2]: XMLC decided to change the HTML structure

Hello Petr,

Note also that you will have to use the OutputOptions to set the
doctype public and system id's. for instance....

OutputOptions oo =
HTMLFormatter.getDefaultOutputOptions();

oo.setOmitDocType(false);
oo.setPublicId("-//W3C//DTD XHTML 1.0 Strict//EN");
oo.setSystemId("http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";);
oo.setDropHtmlSpanIds(false);


Aside...
I haven't looked much into the XHTML stuff, but there might be
an XHTMLFormatter.getDefaultOutputOptions(). It would be logical.
Seems to me, in that case, that the default for setDropHtmlSpanIds
should be false since IE4, the problem browser, doesn't understand XHTML
anyway.


Jake


Tuesday, December 17, 2002, 2:13:43 PM, you wrote:

PS> On Út, 2002-12-17 at 20:46, David Li wrote:
>> Peter,
>>
>> Do not use Tidy to compile XHMTL, use the XHTML module. It's
>> -domfactory and the XHTML uses org.enhydra.xml.xhtml.XHTMLDomFactory.

PS> Wow, I didn't know about this.

>> The error is probably cause by Tidy trying to correct HTML because your
>> input is closed using /> instead of >.

PS> I thought so as well so I removed the "/" from "/>" but it didn't help.
PS> Later I tried to replace the "<h2>" with something else and even later I
PS> found out that there was "<form>" missing. After adding the <form> it
PS> started to work better, but it's still not OK.

PS> Hopefully the XHTML module will fix all my current issues.

PS> Thanks a lot!

PS> Petr



PS> _______________________________________________
PS> XMLC mailing list
PS> XMLC@xxxxxxxxxxx
PS> http://www.enhydra.org/mailman/listinfo.cgi/xmlc



--
Best regards,
Jacob mailto:hoju@xxxxxxxx





Only community members can participate in forum threads. You must Register or log in to contribute.

<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo