[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@xxxxxxxxxxx Sent by: To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx owner-xsl-list@xxxxxxxxxxxx cc: rytech.com Subject: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|