Hi Sandeep,
Thanks for your patience.
Please find below the XML and XSLT file to display text in vertical alignment and the appropriate steps to display the date in PDF file. For your reference, I have also attached the resultant PDF which I have generated using Aspose.Pdf for .NET 7.7.0.
[XML]<o:p></o:p>
<?xml version="1.0" encoding="utf-8" ?>
<Contents>
<Content>Hello World</Content>
</Contents>
[XSLT]
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="text()" />
<xsl:template match="/Contents">
<Pdf xmlns="Aspose.Pdf">
<Section>
<Text ID="Text1" MarginTop="10" Color="Red" RotatingAngle="90">
<Segment>
<xsl:value-of select="Content"/>
</Segment>
</Text>
<Text>
<Segment DateFormat="dd-MM-yy" IsSymbolReplaceable="true">Date is $D </Segment>
</Text>
</Section>
</Pdf>
</xsl:template>
</xsl:stylesheet>