Re: [xsl] XML to HTML

Subject: Re: [xsl] XML to HTML
From: Kevin_Gutch@xxxxxxxxxxx
Date: Thu, 12 Jul 2001 12:10:40 -0400
Actually, I answered the question myself. Using <Comment> tags allows me to
achieve most of what I want to do but the XSL is not well formed due to
several lines within the commented area.

The following throws an error:


 if (document.images && (preloadFlag == true)) {

        for (var i=0; i<changeImages.arguments.length; i+=2) {

            document[changeImages.arguments[i]].src =
changeImages.arguments[i+1];

     }
}



The validator does not like the && or the <changeImages.arguments.length;.


Any more suggestions?








                                                                                                                                 
                    Kevin_Gutch@xxxxxxxxxxx                                                                                      
                    Sent by:                           To:     xsl-list@xxxxxxxxxxxxxxxxxxxxxx                                   
                    owner-xsl-list@xxxxxxxxxxxx        cc:                                                                       
                    rytech.com                         Subject:     [xsl] XML to HTML                                            
                                                                                                                                 
                                                                                                                                 
                    07/12/2001 11:26 AM                                                                                          
                    Please respond to xsl-list                                                                                   
                                                                                                                                 
                                                                                                                                 





Using an XML file to generate an HTML page I need to insert a function that
would normally be written between comment tags such as <!-- function -->.

However, doing this with XML and XSLT the tags get left out of the HTML
output.

Any suggestions.

Thanks.




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






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


Current Thread