I have a date here:
Code:
<xsl:value-of select=" bioghist/bioghist/chronlist/chronitem/date"/>
I would like to add slashes and make it look like this dd/mm/yyyy
How can I do this?
Have I got to use xpath functions?
thnx in advance :)
<xsl:value-of select=" bioghist/bioghist/chronlist/chronitem/date"/>
$w = $_GET['node'];
/ead/archdesc/dsc/c01/bibliography/bibref
<xsl:if test="did/unitid/text() = '$id'">
xsltProcessor.setParameter(null, "id", xsl);
<xsl:param name="id"/>
<xsl:if test="did/unitid='$id'"> [I]xsl[/]
function displayResult2(id)
{
xml=loadXMLDoc("anna.xml");
xsl=loadXMLDoc("c011.xsl");
// code for IE
if (window.ActiveXObject)
{
ex=xml.transformNode(xsl);
document.getElementById("right").innerHTML=ex;
}
// code for Mozilla, Firefox, Opera, etc.
else if (document.implementation
Leave a comment: