I am attempting using the XSLT List View webpart to display the most recent PDF file uploaded to a Document library.
The idea is that a specific user uploads a PDF file for a monthly newsletter to a Document Library. I have a View set up to display one item (the most recent item).
I can get it to work by specifying the entire path to the file as such:
<xsl:template match="Item">
<div class="item">
<object data="http://ift.tt/1L6YrF8" type="application/pdf" width="700px" height="550px">
<p>It appears you don't have a PDF plugin for this browser.</p>
</object>
</div>
</xsl:template>
However I am hoping to enter the URL as something like this:
"http://ift.tt/1DCdKoM select='Name'/>"
I am unable to enter the XSL tag within the html Object tag.
Any suggestions?
Martin
0 commentaires:
Enregistrer un commentaire