Subject: RE: Style Matters - A class act From: "Didier PH Martin" <martind@xxxxxxxxxxxxx> Date: Sat, 5 Feb 2000 14:40:52 -0500 |
Hi David [Pawson] David said: Vun Kannon, David presents a solid mechanism to 'link back' from target to source. Simple question: Why? In todays usage, certainly from this list, it would appear that users aren't presenting two documents to the reader, source and target, simply the intended readable version. Didier replies: If the user agent receiving the document is an XML browser like IE5, then the user do not have access to the HTML document resulting from the XSLT transformation. The document sent by the server is, in this case, an XML document and thus the semantics are intact. If the user agent is, for instance, Netscape 4.5, then this latter is not an XML browser and therefore, the document sent to this user agent is an HTML document. If the user asks for the source, the HTML document is displayed, not the original XML document. Thus, the original semantics are totally lost and what the user get is only a rendition format not a "model". If, in this document, a link pointing to an XSLT transformation script is included. Then, the user can retrieve the original semantics by performing a reverse transformation. Let's say that you received the following HTML document <DIV style="font-size=12pt; font-family=Arial;">This morning, we got 2 inches of snow</div> <span>the ski is marvelous here.<Span><span style="font-weight=bold;"> come join us</span> </div> Now the question is: what was the original XML document? what is the model that I am using to produce the above HTML fragment? got it? Cheers Didier PH Martin ---------------------------------------------- Email: martind@xxxxxxxxxxxxx Conferences: Web New York (http://www.mfweb.com) Book to come soon: XML Pro published by Wrox Press Products: http://www.netfolder.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Style Matters - A class act, Pawson, David | Thread | RE: Style Matters - A class act, Vun Kannon, David |
RE: Style Matters - A class act, Didier PH Martin | Date | XT output formatting, Phil Thomas |
Month |