Click here to Skip to main content
15,896,478 members
Articles / Web Development / ASP.NET

HTML fragments parsing and creation

Rate me:
Please Sign up or sign in to vote.
3.08/5 (9 votes)
15 Mar 20033 min read 84.1K   964   43  
Classes to parse HTML parts into an object tree and back
��<HTML>

	<HEAD>

		<META NAME="Version" Content="1.0.0.1">

		<meta http-equiv="pragma" content="no-cache">

		<TITLE>New_Cockpit</TITLE> 

		<!-- inlcude global scripting libraries -->

		<script src="../../../AISMoPub/Scp/Menu.js"></script>

		<script src="../../../AISMoPub/Scp/Doc.js"></script>

		<SCRIPT ID="clientEventHandlersJS" LANGUAGE="javascript">

<!--



var gTheme          =  1;

var gBckgrColor     =  "#7BA5CE";

var gTLBrdClr       =  "#2965AD";

var SRC_ARROW_UP    =  "../../../AISMoPub/Img/Thm/Bl/arrow_up.gif";

var SRC_ARROW_DOWN  =  "../../../AISMoPub/Img/Thm/Bl//arrow_down.gif";



function window_onload() {

  fnDocLoad();

}



function window_onresize() {

  fnDocResize();

}



//-->

		</SCRIPT>

		<!-- inlcude style sheets -->

		<LINK REL="stylesheet" HREF="../../../AISMoPub/css/Bl.css" TYPE="text/css">

	</HEAD>

	<BODY LANGUAGE="javascript" onresize="return window_onresize()" class="ckpt_body" onload="return window_onload()" bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" link="black" vlink="black" alink="black" bgcolor="#FFFFFF">

		<BR>

		<CENTER>

			<TABLE id="tMain" class="ckpt_panel" width="100%" height="90%" border="0" class="ckpt_panel" cellspacing="0" cellpadding="2" bgColor="#FFFFFF" style="BACKGROUND-IMAGE: url(../../../AISMoPub//Img/)">

				<TR id="tr0" height="8.33%">

					<TD id="tdA1" width="5%">&nbsp;</TD>

					<TD id="tdB1" background="" colspan="18" width=" 90%" vAlign="top" align="center" style="BORDER-TOP: #000000 0px none;

         BORDER-RIGHT: #000000 0px none;

         BORDER-LEFT: #000000 0px none;

         BORDER-BOTTOM: #000000 0px none" bgColor="#FFFFFF">

						<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" style="HEIGHT: 17px" background="">

							<TR>

								<TD width="8" height="17" background="../../../AISMoPub/Img/Thm/Ye/LeftEdge.gif"><FONT size="1"></FONT></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/HeaderBar.gif" nowrap>

									<FONT face="Tahoma" color="white" size="1"><STRONG>Image</STRONG></FONT></TD>

								<TD width="65" background="../../../AISMoPub/Img/Thm/Ye/LightRightEdge.gif">

									<div id="oMenuContainer" onmouseover="fnHighlightMenu(0)" onclick="fnSwitchMenu(0)" onmouseout="fnHighlightMenu(0)" class="menucontainer" align="center" noWrap></div>

								<TD width="16" background="../../../AISMoPub/Img/Thm/Ye/RightEdgeActions.gif">

									<IMG language="javascript" id="imgActions" onClick="return captionText()" alt="" src="../../../AISMoPub/Img/Thm/Ye/arrow_down.gif" align="middle"></TD>

							</TR>

							<TR id="trCaptionText">

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif">

									<FONT face="Tahoma" color="#" size="1"><STRONG>hallo</STRONG></FONT></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

							</TR>

						</TABLE>

						<IMG src="../../../AISMoPub/Img/Audicon.gif" border="0">

					</TD>

					<TD id="tdT1" width="5%">&nbsp;</TD>

				</TR>

				<TR id="tr20" height="8.33%">

					<TD id="tdA2" width="5%">&nbsp;</TD>

					<TD id="tdB2" background="" colspan="18" width=" 90%" rowspan="5" vAlign="top" align="center" style="BORDER-TOP: #000000 0px none;

         BORDER-RIGHT: #000000 0px none;

         BORDER-LEFT: #000000 0px none;

         BORDER-BOTTOM: #000000 0px none" bgColor="#FFFFFF">

						<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" style="HEIGHT: 17px" background="">

							<TR>

								<TD width="8" height="17" background="../../../AISMoPub/Img/Thm/Ye/LeftEdge.gif"><FONT size="1"></FONT></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/HeaderBar.gif" nowrap>

									<FONT face="Tahoma" color="white" size="1"><STRONG>Bar Chart</STRONG></FONT></TD>

								<TD width="65" background="../../../AISMoPub/Img/Thm/Ye/LightRightEdge.gif">

									<div id="oMenuContainer" onmouseover="fnHighlightMenu(1)" onclick="fnSwitchMenu(1)" onmouseout="fnHighlightMenu(1)" class="menucontainer" align="center" noWrap></div>

								<TD width="16" background="../../../AISMoPub/Img/Thm/Ye/RightEdgeActions.gif">

								</TD>

							</TR>

							<TR>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

							</TR>

						</TABLE>

						<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">

							<TR>

								<TD class="bc_body" width="8">&nbsp;</TD>

								<TD class="bc_body" valign="bottom"><P align="left">var1&nbsp;</P>

								</TD>

								<TD class="bc_body" valign="bottom"><P align="right">4&nbsp;</P>

								</TD>

								<TD class="bc_body" width="8">&nbsp;</TD>

							</TR>

							<TR height="21px">

								<TD class="bc_image" width="8">&nbsp;</TD>

								<TD colspan="2" class="bc_image">

									<IMG width="254px" src="Img/9_BC28.jpg" useMap="#BC28" border="0"></TD>

								<TD class="bc_image" width="8">&nbsp;</TD>

							</TR>

							<MAP NAME="BC28">

								<AREA shape="RECT" class="bc_image" COORDS="238,0,244,21" HREF="javascript:" alt="Actual value:  4">

							</MAP>

						</TABLE>

					</TD>

					<TD id="tdT2" width="5%">&nbsp;</TD>

				</TR>

				<TR id="tr20" height="8.33%">

					<TD id="tdA3" width="5%">&nbsp;</TD>

					<TD id="tdT3" width="5%">&nbsp;</TD>

				</TR>

				<TR id="tr20" height="8.33%">

					<TD id="tdA4" width="5%">&nbsp;</TD>

					<TD id="tdT4" width="5%">&nbsp;</TD>

				</TR>

				<TR id="tr20" height="8.33%">

					<TD id="tdA5" width="5%">&nbsp;</TD>

					<TD id="tdT5" width="5%">&nbsp;</TD>

				</TR>

				<TR id="tr20" height="8.33%">

					<TD id="tdA6" width="5%">&nbsp;</TD>

					<TD id="tdT6" width="5%">&nbsp;</TD>

				</TR>

				<TR id="tr20" height="8.33%">

					<TD id="tdA7" width="5%">&nbsp;</TD>

					<TD id="tdB7" background="" colspan="18" width=" 90%" rowspan="4" vAlign="top" align="center" style="BORDER-TOP: #000000 0px none;

         BORDER-RIGHT: #000000 0px none;

         BORDER-LEFT: #000000 0px none;

         BORDER-BOTTOM: #000000 0px none" bgColor="#FFFFFF">

						<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" style="HEIGHT: 17px" background="">

							<TR>

								<TD width="8" height="17" background="../../../AISMoPub/Img/Thm/Ye/LeftEdge.gif"><FONT size="1"></FONT></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/HeaderBar.gif" nowrap>

									<FONT face="Tahoma" color="white" size="1"><STRONG>Chart</STRONG></FONT></TD>

								<TD width="65" background="../../../AISMoPub/Img/Thm/Ye/LightRightEdge.gif">

									<div id="oMenuContainer" onmouseover="fnHighlightMenu(2)" onclick="fnSwitchMenu(2)" onmouseout="fnHighlightMenu(2)" class="menucontainer" align="center" noWrap></div>

								<TD width="16" background="../../../AISMoPub/Img/Thm/Ye/RightEdgeActions.gif">

								</TD>

							</TR>

							<TR>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

							</TR>

						</TABLE>

						<IMG id="imgGraph" alt="" src="Img/9_GC3.jpg" border="0">

					</TD>

					<TD id="tdT7" width="5%">&nbsp;</TD>

				</TR>

				<TR id="tr20" height="8.33%">

					<TD id="tdA8" width="5%">&nbsp;</TD>

					<TD id="tdT8" width="5%">&nbsp;</TD>

				</TR>

				<TR id="tr20" height="8.33%">

					<TD id="tdA9" width="5%">&nbsp;</TD>

					<TD id="tdT9" width="5%">&nbsp;</TD>

				</TR>

				<TR id="tr20" height="8.33%">

					<TD id="tdA10" width="5%">&nbsp;</TD>

					<TD id="tdT10" width="5%">&nbsp;</TD>

				</TR>

				<TR id="tr20" height="8.33%">

					<TD id="tdA11" width="5%">&nbsp;</TD>

					<TD id="tdB11" background="" colspan="18" width=" 90%" rowspan="2" vAlign="top" align="center" style="BORDER-TOP: #000000 0px none;

         BORDER-RIGHT: #000000 0px none;

         BORDER-LEFT: #000000 0px none;

         BORDER-BOTTOM: #000000 0px none" bgColor="#FFFFFF">

						<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" style="HEIGHT: 17px" background="">

							<TR>

								<TD width="8" height="17" background="../../../AISMoPub/Img/Thm/Ye/LeftEdge.gif"><FONT size="1"></FONT></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/HeaderBar.gif" nowrap>

									<FONT face="Tahoma" color="white" size="1"><STRONG>List</STRONG></FONT></TD>

								<TD width="65" background="../../../AISMoPub/Img/Thm/Ye/LightRightEdge.gif">

									<div id="oMenuContainer" onmouseover="fnHighlightMenu(3)" onclick="fnSwitchMenu(3)" onmouseout="fnHighlightMenu(3)" class="menucontainer" align="center" noWrap></div>

								<TD width="16" background="../../../AISMoPub/Img/Thm/Ye/RightEdgeActions.gif">

								</TD>

							</TR>

							<TR>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

								<TD background="../../../AISMoPub/Img/Thm/Ye/LightBar.gif"></TD>

							</TR>

						</TABLE>

						<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0" bordercolor="white">

							<TR>

								<TD bgcolor="#a6caf0" height="18" nowrap style="TEXT-ALIGN: left" align="left">

									<FONT face="Verdana" size="2">&nbsp;var1 </FONT>

								</TD>

								<TD bgcolor="#a6caf0" height="18" nowrap style="TEXT-ALIGN: right" align="right">

									<FONT face="Verdana" size="2">4.00 &nbsp;<BR>

										29.01.2003 &nbsp;</FONT></TD>

								<TD bgcolor="#a6caf0" height="18" nowrap style="TEXT-ALIGN: right" align="right">

									<FONT face="Verdana" size="2">4.00 &nbsp;<BR>

										29.01.2003 &nbsp;</FONT></TD>

								<TD bgcolor="#a6caf0" height="18" nowrap style="TEXT-ALIGN: left" align="left">

									<FONT face="Verdana" size="2">&nbsp;-</FONT></TD>

							</TR>

						</TABLE>

					</TD>

					<TD id="tdT11" width="5%">&nbsp;</TD>

				</TR>

				<TR id="tr20" height="8.33%">

					<TD id="tdA12" width="5%">&nbsp;</TD>

					<TD id="tdT12" width="5%">&nbsp;</TD>

				</TR>

			</TABLE>

		</CENTER>

		<CENTER>

			<P><BR>

				<FONT face="Tahoma" color="white" size="1">Last Update: Wednesday, Jan 29 2003 

					06:46:22 PM<FONT></P>

		</CENTER>

	</BODY>

</HTML>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions