[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] using document() to read HTML


Subject: [xsl] using document() to read HTML
From: Rosa I-Ting Cheng <Rosa@xxxxxxxxxxxxx>
Date: Fri, 2 Feb 2001 09:29:03 +1100

mornin'!
thanx to David for the hyperlink replies.  Here's another one:
when u read in a HTML page say using document(top.htm) - don't know any
other way - , I presume it's like a pointer pointing to the beginning node
of that file. Because I want sections of the HTM file or even the whole HTM
file to be in front of some HTML which will be translated by XSL.
EG.
<FORM name="mainForm">
   <TABLE cellSpacing="0" cellPadding="0" width="10%" height="100%"
border="0" align="left" valign="top"><TBODY>

"document(top.htm)" <-- section here!

      <xsl:apply-templates select="menu"/>

does anyone know if there is a function or any easy way to run/loop thru the
whole HTM:
<HTML>
<BODY>
   <TABLE cellSpacing="0" cellPadding="0" width="10%" height="100%"
border="0" align="left" valign="top"><TBODY>
this section i want to embed--->>
        <TR>
          <TD><IMG height="10" alt="" 
            src="blank.gif" width="1" 
            border="0"/></TD></TR>
        <TR>
          <TD><IMG height="89" alt="" 
            src="netx313.gif" width="87" 
            border="0"/></TD></TR>
        <TR>
          <TD><IMG height="19" alt="" 
            src="byline.gif" width="90" 
            border="0"/></TD></TR>
        <TR>
          <TD><IMG height="10" alt="" 
            src="blank.gif" width="1" 
            border="0"/></TD></TR>
        <TR>
          <TD><IMG height="7" alt="" hspace="0" 
            src="navtop.gif" width="101" 
            border="0" VALIGN="top"/></TD></TR>
<<---till here!!
   </TABLE>
</BODY>
</HTML>
?

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread