[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Mixing HTML markup with XML and CSS
HI Lisa, Lisa said: I need to render XML docs using CSS 2.0 and a browser which supports doing this. The browser also supports rendering HTML with CSS 2.0. I don't have a problem doing either of these two things. Didier replies: You can do that with Mozilla (http://www.mozilla.org) the latest release has an install program and is more stable than before. you can mix html elements with your own xml elements as long as the HTML elements are xmlized. For example to include a script in your xml document you write: <html:script> So, your xml document can be styled with a CSS1/2 (I would say 1 1/2 more than 2 since not all CSS2 features are implemented). Each HTML elements properly associated to the html name space are interpreted by the browser as usual. You also have minimal xlink:simple interpretation. Thus to summarize: Mozilla render XML document with css, if the XML document contains HTML constructs they are interpreted as usual if the XML document contains xlink constructs they are interpreted also. Cheers Didier PH Martin ---------------------------------------------- Email: martind@n... Conferences: Web Chicago(http://www.mfweb.com) XML Europe (http://www.gca.org) Book: XML Professional (http://www.wrox.com) column: Style Matters (http://www.xml.com) Products: http://www.netfolder.com *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
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
|