Hi there,
I need to show an XML element value in a javascript function like so.
But this does not seem to work.
I have also tried
but this does not work either.
There is only hone Name element in the hotel root element.
Any help is much appriciated.
thanks
I need to show an XML element value in a javascript function like so.
Code:
function CreateWindow() {
myWindow = window.open("", "tinyWindow", 'width=600,height=500');
myWindow.document.title="<xsl:valueof select="hotel/Name"/>";
}
I have also tried
Code:
myWindow.document.title="{hotel/Name}";
There is only hone Name element in the hotel root element.
Any help is much appriciated.
thanks