473,586 Members | 2,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.net library/class/component for converting HTML into XHTML?

I have two issues:

1) The WYSIWYG content editor we're using for our CMS doesn't truly support
xhtml.

2) .net doesn't truly support xhtml

my question is if there is a .net library/class/component that can convert
from html to xhtml?

The may reason I ask is due to issue #1. I've found that most of the WYSIWYG
editors have various strengths and weaknesses. Of the ones I've found that
do fully support valid xhtml tend to fail in other areas (namely interface),
so, for now, we've been sticking with the one we have.

I have set up a few functions that search and replace the content via GREP
to check for various stray tags and I'm assuming any library I'd find would
do the same thing, though have much more complext GREP pattern matching to
change from html to xhtml.

issue #2 would be nice to resolve too, but I'm not asking for miracles here.
;o)

-Darrel
Nov 18 '05 #1
1 1794
Not a library per se, but have you tried using HTMLTidy (google for it, I
don't have a link handy) for converting HTML pages into XHTML format?

"darrel" <no*****@hotmai l.com> wrote in message
news:O4******** ******@TK2MSFTN GP09.phx.gbl...
I have two issues:

1) The WYSIWYG content editor we're using for our CMS doesn't truly support xhtml.

2) .net doesn't truly support xhtml

my question is if there is a .net library/class/component that can convert
from html to xhtml?

The may reason I ask is due to issue #1. I've found that most of the WYSIWYG editors have various strengths and weaknesses. Of the ones I've found that
do fully support valid xhtml tend to fail in other areas (namely interface), so, for now, we've been sticking with the one we have.

I have set up a few functions that search and replace the content via GREP
to check for various stray tags and I'm assuming any library I'd find would do the same thing, though have much more complext GREP pattern matching to
change from html to xhtml.

issue #2 would be nice to resolve too, but I'm not asking for miracles here. ;o)

-Darrel

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
6171
by: Patrick | last post by:
Following earlier discussions about invoking a .NET class library via ..NET-COM Interop (using regasm /tlb) at http://groups.google.com/groups?hl=en&lr=&threadm=%23Van7eSrEHA.4004%40TK2MSFTNGP10.phx.gbl&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26selm%3D%2523Van7eSrEHA.4004%2540TK2MSFTNGP10.phx.gbl I have concluded that my .NET class library...
2
6456
by: pieter.breed | last post by:
Hi All, The company I work for has traditionally used COM/ActiveX for the solutions that it provides. We are in the process of moving to .NET and a few applications have been written in VB.NET up to this point. Some of the applications are class libraries which need to be callable via the COM interface from some of the older applications....
43
4939
by: Steven T. Hatton | last post by:
Now that I have a better grasp of the scope and capabilities of the C++ Standard Library, I understand that products such as Qt actually provide much of the same functionality through their own libraries. I'm not sure if that's a good thing or not. AFAIK, most of Qt is compatable with the Standard Library. That is, QLT can interoperate with...
29
3878
by: Armand Karlsen | last post by:
I have a website ( http://www.zen62775.zen.co.uk ) that I made HTML 4.01 Transitional and CSS compliant, and I'm thinking of converting it into XHTML to learn a little about it. Which XHTML variant would you recommend? The w3c HTML validator mentions XHTML 1.0 Transitional, Basic, Strict, and XHTML 1.1. Would I be able to make my existing CSS...
2
2857
by: mike | last post by:
regards: I follow the following steps to converting from HTML to XHTML http://webpageworkshop.co.uk/main/xhtml_converting My parser is http://htmlparser.sourceforge.net/ Xhtml version is 1.0 from http://nds.nokia.com/uaprof/N6600r100.xml but nokia mobile browser cannot identify the converted file(XHTML1.0). Is there something wrong...
3
1929
by: Alpesh Parmar | last post by:
Hi Frens, I've made a class library project in Visual Basic using visual studio.net 2003. Now after i m done I copy the dll from the \bin dir. of this project to my web application project using ASP.net 's bin dir to use it. and Then I am trying to use this dll in my .aspx page but it gives me error message that object not defined. I...
1
7090
by: Jim | last post by:
Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11, Dec 12 and Dec 30. When attempted final deployment on Jan 2, 2004 got following messages and errors... I reset everything and tried several times agian. Then erased the setup project and tried to...
3
1692
by: jitu78 | last post by:
Many Web designers and developers have been building Web pages for years. Just one person can create so many sites with so many pages that the thought of trying to convert all of them to anything is completely overwhelming. But if you've been building pages with an editor or by hand, you probably have pages that are not valid XHTML, and use old...
0
1204
by: Mitchel Haas | last post by:
I've noticed several inquiries in the past for libraries/toolkits to generate or parse xhtml. Although there are already a few libraries available for this purpose, I'd like to announce a new lightweight library for this purpose. Xport, XHTML Parsing & Objective Reporting Toolkit, is a new open source lightweight library for the purpose of...
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8202
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.