XML XSLT 2.0 date format



I have a problem converting dates from XML document using XSLT 2.0.


XML doc view:



<catalog >
<book id1>
<title>
<date> dd-mm-yyyy <date>
</title>
</book1>

<book id2>
<title>
<date> dd-mm-yyyy <date>
</title>
</book2>
</catalog>


In HTML doc my date must look as ||dd MONTH yyyy||


I'm using XSLT function "format-date" but saxon9he ignores it.


No comments:

Post a Comment