This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XML to HTML



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@mapinfo.com                                                                                      
                    Sent by:                           To:     xsl-list@lists.mulberrytech.com                                   
                    owner-xsl-list@lists.mulber        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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]