|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
XSLT and XHTML-MP
Hello
Can I use XSL style sheet in a xhtml page? If so how do I write the doctype header? can somebody point me an example? I've had this question while working for the web, and now that I starting to design a site for mobile browsers that has it's contents in XML pages the question arises again. Eventually I want to write for both web and mobile browsers and want to use XTHML Strict, having each version its own CSS style sheet and corresponding XML feeds. Thanks, Marcello
__________________
------------------------------------------- "The idea of place is not but a gross pratical approach, there's nothing in it of logically needful, being impossible to make it precise." |
|
#2
|
|||||
|
|||||
|
Yes you can. An example below.
Things to note: 1: You should probably change the DTD for MP as they have their own 2: Using content type as listed below will cause older browsers and IE in general a few problems - you will probably need to address this * 3: See http://keystonewebsites.com/articles/mime_type.php * commenting out the DTD will throw all browsers into Quirks mode, which "should" allow IE to render the page OK xHTML Code:
Hope this helps.
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > XSLT and XHTML-MP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|