Subject: Re: [xsl] XML Data Islands, XML Menu Trees and other stuff|
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Tue, 30 Nov 2004 12:19:29 -0700
Wow, that looks great :)
In the meantime i've been playing with the XmlHttpRequest and it really works on IE and FF, at least. So it seems it's not dificult to get the XML files without a all trip to the server.
Now for XSLTing the XML i think i'll wait for your example...
Thanks a lot.
Citando "M. David Peterson" <m.david@xxxxxxxxxx>:
Hi David, and all.
OT i just went to XSLT:Blog and where it should appear (i added the spaces) I ' m appears I b $ (TM) m
Both IE and Firefox(and Im assuming other Mozilla based browsers) that are set to auto detect encoding decide that utf-8 is actually iso-8859-1. Given that they both do it my assumption is that there is some obscure line in the HTML causing this to happen as I find it strange that both algorithms would read the byte stream in the same way and determine iso-8859-1 instead of the proper utf-8. The charset is clearly defined as utf-8
<meta snip... content="text/html; charset=utf-8" />
So I really dont know whats up... I cant be the only MT install that has this problem so as soon as I have a chance I will look further into it.
In the mean time manually change your browser to recognize the page as UTF-8 and youll be fine, all be it temporary.
Now on-topic, i've been searching for info in places like w3schools, and itvery
gives me the impression that XML data islands and related techniques are
tyied to IE browser, like HTML elements binding, XML HTTP requests, etc....Also
i saw that XML data islands has nothing to do with W3C...
Is this correct?
No... It does take some trickery but its possible and really quite easy once you understand the process that needs to take place.
lookingMy boss suddenly give a high priority to this going-to-be project, so let me elaborate a little more for you to see if this falls in your techniques.
Do you think you techniques can be adaptable to this, or should i start
Basically, my intention is to have a menu tree that, when cliked on a node,
would do a trip to the server to get some XML that could be a sub-menu
definition to display dinamically, or a XML ResultSet from a db to display
XSL/CSS/CSS2, or even a HTML page to display on a frame (altougt i don'tlike
frames). I want to do this dinamically, specially without refreshing the browser, as this has a tendency to become very heavy.
In fact this a perfect example of how this could be used... In fact that would be a simple demo to quickly create... instead of stressing over this larger piece let me feed it to you in bit size morsels as it will probably be easier to understand initially and from there is just adding one more source of data at a time and using that data to coordinate proper context between the elements between rendered...
Give me a bit to rethink how best to showcase this and I will return with a sample...