[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: apply 2 diff xsl on the same xml OR passing parame
1. Is there a way to pass a parameter to the XSL file through the xml URL ? (this way I'll have one xsl file and according to the parameter value I'll display only what I need) Not directly, no, you would need the xml file to use the xml-stylesheet PI to apply a stylesheet that generated some html, and then use javascript in that html to access the URI and do anything else needed. 2. Is there a way, which is not browser depended, to apply the needed XSL on the xml file ? (meaning I've 2 XSL file for 'detailed' version and 'summarized' version) such javascript is likely to be browser dependendent although there are some javascrip libraries available that hide the dependencies as much as possible. 3. I didn't quite understand, is XSL processor a built-in in all web-browser ? are there platform or web-browsers that don't suppot XSL processor and additional program should be installed on it ? Lots of browsers don't have XSLT. IE 6 and mozilla (which includes, netscape 7 and firefox, etc) do have XSLT support, but Opera doesnt. KHTML browsers such as safari on the mac don't IE on the Mac doesn't, lynx doesn't,.... 4. how can it be the IE6 and netscape fail to open 10M xml file but when I'm adding to this file an XSL stylesheet it take no longer the 10sec ? The default stylesheet in both cases makes a javascript enabled folding tree view of the document, presumably it was taking a long time for that tree view to be generated/rendered. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
|
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
|