beagle r4125 - branches/beagle-webinterface-branch/beagled/webinterface



Author: nirbheekc
Date: 2007-11-05 03:39:37 +0000 (Mon, 05 Nov 2007)
New Revision: 4125
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=4125&view=rev

Modified:
   branches/beagle-webinterface-branch/beagled/webinterface/default.js
   branches/beagle-webinterface-branch/beagled/webinterface/hitresult.xsl
   branches/beagle-webinterface-branch/beagled/webinterface/index.xsl
   branches/beagle-webinterface-branch/beagled/webinterface/mappings.xml
Log:
Roight. This makes the branch "work" again via several minor one-liner self-explanatory fixes.
Snippets will not work because html parsers like to "fix" stuff for you. This time by lower case-ing the XML in <div id="XML"> and moving the attributes around. This screws up things because XML is case sensitive. The solution to this would be to stick it between comment markers (as I originally wanted to), but XSL provides no way to copy XML into a comment (<xsl:comment><xsl:copy-of select="."></xsl:comment> will not work because any tags between <xsl:comment></xsl:comment> which the pareser does not understand are ignored, which in this case are the XML tags from the Hit). If no way comes up this week, JavaScript will have to be used :(




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]