On PDF report I need Photo copy box on the right hand side

When I generate Pdf report then on the right hand side I need the Photo copy box for attaching the photo.
This is the my xsl file.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:fn="http://www.w3.org/2005/xpath-functions">
<xsl:output method="xml" indent="yes" encoding="utf-8" omit-xml-declaration = "yes" />
<xsl:template match="/">
<fo:root>
<fo:layout-master-set>
     <fo:simple-page-master master-name="my-page">
          <fo:region-body margin="1in"/>
          <fo:region-before extent="1in" background-color="silver" />
     </fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="my-page">
     <fo:static-content flow-name="xsl-region-before">
          <fo:block height="150px" width="1024px" background-color="#003366" >
          <fo:external-graphic width="340px" src="http://localhost:9000/web-determinations9000/images/logo.png"/>
          </fo:block>
     </fo:static-content>
     <fo:flow flow-name="xsl-region-body">
          <fo:block>
          <xsl:apply-templates mode="dump" select="/session/entity[@name='global']/instance[@label='global']"/>
          </fo:block>
     </fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
<xsl:template match="/session/entity[@name='global']/instance[@label='global']" mode="dump" priority="100">
     <fo:block margin-top=".5cm" margin-left=".1cm" border-start-style="">
          Student ID : <xsl:value-of select="attribute[@id='StudentId']/number-val"/>
     </fo:block>
     <fo:block margin-top=".5cm" margin-left=".1cm" border-start-style="">
          First Name : <xsl:value-of select="attribute[@id='StudentName']/text-val"/>
     </fo:block>
     <fo:block margin-top=".5cm" margin-left=".1cm" border-start-style="">
          Last Name : <xsl:value-of select="attribute[@id='p3@Properties_studentProps_xsrc']/text-val"/>
     </fo:block>
</xsl:template>
</xsl:stylesheet>
Thanks.
Edited by: 848231 on Apr 13, 2011 4:40 AM

Unfortunately, there aren't any XSL-FO gurus tracking this forum. You might have better luck posting to a forum dedicated to that type of discussion.
Kind regards,
Davin.

Similar Messages

  • Need to check tls/ssl but getting stuck with "You must provide a value expression on the right-hand side of the '-' operator."

    I would like to disable ssl 3 but need to test what sites only support ssl 3. I keep getting stuck with an error that is over my head. I've tried manipulating the string a dozen different ways and keep getting the same error. I am not familiar with -notin
    or how to specify which part of the property its checking: thanks a ton
    http://blog.whatsupduck.net/2014/10/checking-ssl-and-tls-versions-with-powershell.html
    line with issues:
    $ProtocolNames = [System.Security.Authentication.SslProtocols] | gm -static -MemberType Property | where-object{$_.Name -notin @("Default","None") | %{$_.Name}
    You must provide a value expression on the right-hand side of the '-' operator.
    At S:\scripts\test23.ps1:50 char:126
    + $ProtocolNames = [System.Security.Authentication.SslProtocols] | gm -static -MemberType Property | where-object{$_.Name - <<<< noti
    n @("Default","None") | %{$_.Name}
    + CategoryInfo : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : ExpectedValueExpression
    <#
    .DESCRIPTION
    Outputs the SSL protocols that the client is able to successfully use to connect to a server.
    .NOTES
    Copyright 2014 Chris Duck
    http://blog.whatsupduck.net
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    .PARAMETER ComputerName
    The name of the remote computer to connect to.
    .PARAMETER Port
    The remote port to connect to. The default is 443.
    .EXAMPLE
    Test-SslProtocols -ComputerName "www.google.com"
    ComputerName : www.google.com
    Port : 443
    KeyLength : 2048
    SignatureAlgorithm : rsa-sha1
    Ssl2 : False
    Ssl3 : True
    Tls : True
    Tls11 : True
    Tls12 : True
    #>
    function Test-SslProtocols {
    param(
    [Parameter(Mandatory=$true,ValueFromPipelineByPropertyName=$true,ValueFromPipeline=$true)]
    $ComputerName,
    [Parameter(ValueFromPipelineByPropertyName=$true)]
    [int]$Port = 443
    begin {
    $ProtocolNames = [System.Security.Authentication.SslProtocols] | gm -static -MemberType Property | where-object{$_.Name -notin @("Default","None") | %{$_.Name}
    process {
    $ProtocolStatus = [Ordered]@{}
    $ProtocolStatus.Add("ComputerName", $ComputerName)
    $ProtocolStatus.Add("Port", $Port)
    $ProtocolStatus.Add("KeyLength", $null)
    $ProtocolStatus.Add("SignatureAlgorithm", $null)
    $ProtocolNames | %{
    $ProtocolName = $_
    $Socket = New-Object System.Net.Sockets.Socket([System.Net.Sockets.SocketType]::Stream, [System.Net.Sockets.ProtocolType]::Tcp)
    $Socket.Connect($ComputerName, $Port)
    try {
    $NetStream = New-Object System.Net.Sockets.NetworkStream($Socket, $true)
    $SslStream = New-Object System.Net.Security.SslStream($NetStream, $true)
    $SslStream.AuthenticateAsClient($ComputerName, $null, $ProtocolName, $false )
    $RemoteCertificate = [System.Security.Cryptography.X509Certificates.X509Certificate2]$SslStream.RemoteCertificate
    $ProtocolStatus["KeyLength"] = $RemoteCertificate.PublicKey.Key.KeySize
    $ProtocolStatus["SignatureAlgorithm"] = $RemoteCertificate.PublicKey.Key.SignatureAlgorithm.Split("#")[1]
    $ProtocolStatus.Add($ProtocolName, $true)
    } catch {
    $ProtocolStatus.Add($ProtocolName, $false)
    } finally {
    $SslStream.Close()
    [PSCustomObject]$ProtocolStatus
    Test-SslProtocols -ComputerName "www.google.com"

    V2 version:
    function Test-SslProtocols {
    param(
    [Parameter(
    Mandatory=$true,
    ValueFromPipelineByPropertyName=$true,
    ValueFromPipeline=$true
    )]$ComputerName,
    [Parameter(
    ValueFromPipelineByPropertyName=$true
    )][int]$Port = 443
    begin {
    $protocols=[enum]::GetNames([System.Security.Authentication.SslProtocols])|?{$_ -notmatch 'none|default'}
    process {
    foreach($protocol in $protocols){
    $ProtocolStatus = @{
    ComputerName=$ComputerName
    Port=$Port
    KeyLength=$null
    SignatureAlgorithm=$null
    Protocol=$protocol
    Active=$false
    $Socket = New-Object System.Net.Sockets.Socket('Internetwork','Stream', 'Tcp')
    $Socket.Connect($ComputerName, $Port)
    try {
    $NetStream = New-Object System.Net.Sockets.NetworkStream($Socket, $true)
    $SslStream = New-Object System.Net.Security.SslStream($NetStream, $true)
    $SslStream.AuthenticateAsClient($ComputerName, $null, $protocol, $false )
    $RemoteCertificate = [System.Security.Cryptography.X509Certificates.X509Certificate2]$SslStream.RemoteCertificate
    $protocolstatus.Active=$true
    $ProtocolStatus.KeyLength = $RemoteCertificate.PublicKey.Key.KeySize
    $ProtocolStatus.SignatureAlgorithm = $RemoteCertificate.PublicKey.Key.SignatureAlgorithm.Split("#")[1]
    catch {
    Write-Host 'Failed'
    finally {
    New-Object PsObject -Property $ProtocolStatus
    $SslStream.Close()
    Test-SslProtocols -ComputerName www.google.com
    ¯\_(ツ)_/¯

  • When I open a PDF directly in acrobat pro 11 it provides the review pane at the right hand side on clicking on Comment button. But when I open it through browser the review  pane is missing.

    The review pane is missing at the right hand side when I open a PDF in browser. I am using acrobat pro 11 and it is not even providing the option to prevent the PDF to open in browser.
    Also, the review pane appears when I launch the PDF in acrobat directly.
    Please could you help resolving this issue?

    How is Acrobat 8 not fully Windows 7 compatible?  I see discussions on this Adobe Community saying how Acrobat 8 does work on Windows 7 and with 64-bit.  It appears that if Acrobat 8 is updated to the latest version, then this should fix AA8-Win7 issues.  And I am at the latest AA8 version, 8.3.1. 
    And how are Acrobat 8 and Reader XI are not compatible?  I have always had Acrobat and Reader installed on the same PC, without ever having any issues.  And Adobe allows the installation of one after the other.  So apparently Adobe allows them both to exist together.  If they are incompatible, then why would Adobe allow them to exist together? 
    Anyway, I did uninstall the FileOpen Plug-in and the Reader XI, then reinstalled the FileOpen Plug-in.  So now Reader is not installed and only Acrobat 8 is installed.  I then tried to load the PDF file, but I still get the Acrobat 8 error described above. 

  • I cannot save PDF files that has a lock on the right hand side of the tab in safari iOS 5 from my iPad. Please help to find a solution.

    Can someone help find a fix of how to save PDF files from safari in iOS 5.0.1? The PDF files show a lock on the right hand side of tab. Only these lock PDF cannot be save. Any help will be highly appreciated.

    I assume that you have iBooks or GoodReader or Adobe Reader - some app that will open PDF files so my suggestion would be to start with the basic things, restart your iPad, reset it or quit Safari and restart.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    In order to close/quit apps - Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off.
    To power up hold the sleep button until the Apple logo appears and let go of the button.
    The lock to the right side of the tab indicates that the website is secure - or at least that is what it looks like in Safai on my iPad. Sites with the https in the address have the lock icon in the tab, non secure sites - web pages without the https - do not have the lock icon. I'm not sure if that has any bearing on it - none of the PDF files that I have opened in Safari have the lock icon.
    But if you can open the file - it doesn't make sense that it would be locked??? Try the basic suff and see if any of that helps.
    Message was edited by: Demo

  • All of my other apps have the little box on the right lower side to switch from iphone to tv... except netflix, i am unable to start a movie on the phone and then switch it to the TV??????

    HOW CAN I TRANSFER MY MOVIE FROM THE IPHONE TO TO THE TV WHEN WATCHING NETFLIX, WHEN THE LITTLE BOX IN THE RIGHT LOWER HAND CORNER ISNT THERE????;-)

    That isn't possible with Netflix.
    To watch Netflix on AppleTV select "Internet" from the menu and scroll down to Netflix.  Sign in to your Netflix account.  Your Queue will be available and you can pick up where you left off on your iDevice or computer.

  • Lightroom 5.5 Mobile Sync of a collection has been failing to complete (stops on 12 of the 34 images) and today Lightroom desktop does not provide a sync tick box in the left hand side of the Collections Catalog so cannot attempt to resync.

    Lightroom.com and the iPad show the same 12 images but the flags I had set on them previously (which are still set on the iPAD and Lr.com) no longer show up on the Desktop. It seems the Mobile Sync process has somehow disconnected between Desktop and elsewhere and fallen apart....

    Hi Guido, thanks for getting in touch. When I fire up Lightroom under W7 and check Preferences and Lightroom Mobile I see my Adobe ID with the "Sign Out" button next to it. If I check out the "More Account Info Online" I get taken to my account page. If I hit the "Adobe" option from the account screen and the "Lr" option from there I get to see the same 12 images that have appeared on my iPad, but there are actually 34 images in that collection, presumably the remainder being those 'pending assets' you mention. I am not presented with the sync check boxes I would expect to see in the left hand column of the Collections area.
    So I've now signed out of Lr Mobile from W7 desktop, restarted Lr and the logged back in to Lr Mobile. Lr Desktop now seems to be picking up my iPad Camera Roll, which is something I hadn't asked it to do, although it seems to have stopped at 45 of 46. Over on "Lightroom.adobe.com" the number of images in the Camera Roll file is increasing but not caught up with the number on the PC yet. There are now two PAGB Collection files, one with the same 12 images, the other is empty. Over on the iPad I'm also seeing two PAGB Collection files as well, same content as on "Lightroom.adobe.com".
    Regards,
    Dave

  • Why can't i log into my Adobe ID from the link on the right hand side of a PDF file

    Im trying to convert a PDF file into an excel spreadsheet but everytime i try to log on it's telling me my ID or password is incorrect but when i log in online via the website it works.
    Can anyone help?

    [topic moved to ExportPDF forum]

  • Landwide(pasta) report gets chopped off on right hand side

    Hi
    I am printing a report(Transaction Register) in landwide(HPW drivder), using Pasta and the report is getting chopped off on the right-hand-side.
    What do I need to do to fix this?

    Could you please share the initialization, because I have the same issue but mine was chppoed off left hand side. Which initialization i need to fix? thanks

  • Unable to center my right hand side boxes

    Hi I am unable to centre my blog boxes in the middle of the right hand side column on my website, Can anyone help me with this ,
    Thanks
    Alex
    www.newcityexplorer.com

    To give you an idea of a layout, copy and paste the following into a new document and view in your favourite browser.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
        padding: 0;
        margin: 0;
    html {
        background: rgb(173,217,228); /* Old browsers */
    body {
        width: 980px;
        margin: auto;
    h1 {
        font-size: 2.3em;
        text-align: center;
        margin: 0.5em;
    .header {
        background: url(http://www.newcityexplorer.com/Pictures/Logo_2.png) no-repeat 20px 10px;
        height: 100px;
    .nav {
        border-radius:12px;
        border: solid 1px silver;
        height: 35px;
        background: #696;
    .aside {
        border-radius:12px;
        border: solid 1px silver;
        height: 200px;
        width: 32%;
        float: right;
        background: #CCC;
    .article {
        border-radius:12px;
        border: solid 1px silver;
        height: 200px;
        width: 65%;
        float: left;
        background: #FFF;
    .footer {
        border-radius:12px;
        border: solid 1px silver;
        height: 50px;
        margin-top: 200px;
        background: #696;
    .clearfix:before, .clearfix:after { content: ""; display: table; }
    .clearfix:after { clear: both; }
    .clearfix { zoom: 1; }
    </style>
    </head>
    <body>
    <div class="header"></div>
    <div class="nav"></div>
    <h1>Where will you fly next?</h1>
    <div class="aside"></div>
    <div class="article"></div>
    <br class="clearfix">
    <div class="footer"></div>
    </body>
    </html>
    Gramps

  • 4500 envy cuts off right hand side of pdf document when I print to letter size paper

    This is a new printer for me.  It is connected to my laptop with a USB cord.  I am attempting to print an e-mailed PDF document .  When I preview, I see that the right-hand side of the document is cut off  by more than an inch.  How do I get the printer to format the document to fit on letter-sized paper? Reducing the document size to under 100 % does not help.

    Thank you for your response!  Try the steps below in order, and try printing your email again. Let me know what happens! Reset the printing systemRepair disk permissionsRestart the MacClick here to download and install the printers Full Driver: HP ENVY 4500 e-All-in-One PrinterTry printing your email and also from Text Edit. Good luck! 

  • I have been trying to watch tutorials on how layering works. All I want to do is this: I have one image of a radio with a white background. I need to have just the radio extracted, then on a new layer (white one/blank/plain) I need to copy and paste the i

    I have been trying to watch tutorials on how layering works. All I want to do is this: I have one image of a radio with a white background. I need to have just the radio extracted, then on a new layer (white one/blank/plain) I need to copy and paste the image of the radio two times. How can I DO THIS!?!?!?! Thanks!

    In Editor, go to the expert tab.
    Open picture B, the one you wish to select the radio from to add to another picture.
    Use one of the selection tools, e.g. selection brush, lasso tool, to select the object. You will see an outline ("marching ants") once the selection is complete
    Go to Edit menu>copy to copy the selection to the clipboard
    Open picture A, then go to Edit>paste
    Use the move tool to position object from picture B.
    In the layers palette you should see picture A as the background layer, and the radio B on a separate layer.

  • I need to copy files over the network PSSession . ( Firewall / DMZ / Etc. )

    Hello
    I need to copy files over the network PSSession . ( Firewall / DMZ / Etc. )
    I have a script where I copy from my local server ( server1) to the remote server ( server2 ), but I can´t not make script that will copy from the remote server to my local by my session. From server2 to server1
    Script is as below ...:-)
    HELP : ....
    winrm s winrm/config/client '@{TrustedHosts="SERVER2"}'
        $Source = "D:\test\ok.log"
        $Destination = "D:\test\ok.log"
        $session = New-PSSession -ComputerName SERVER2
    Set-StrictMode -Version Latest
    ## Get the source file, and then get its content
    $sourcePath = (Resolve-Path $source).Path
    $sourceBytes = [IO.File]::ReadAllBytes($sourcePath)
    $streamChunks = @()
    ## Now break it into chunks to stream
    Write-Progress -Activity "Sending $Source" -Status "Preparing file"
    $streamSize = 1MB
    for($position = 0; $position -lt $sourceBytes.Length;
        $position += $streamSize)
        $remaining = $sourceBytes.Length - $position
        $remaining = [Math]::Min($remaining, $streamSize)
        $nextChunk = New-Object byte[] $remaining
        [Array]::Copy($sourcebytes, $position, $nextChunk, 0, $remaining)
        $streamChunks += ,$nextChunk
    $remoteScript = {
        param($destination, $length)
        ## Convert the destination path to a full filesytem path (to support
        ## relative paths)
        $Destination = $executionContext.SessionState.`
            Path.GetUnresolvedProviderPathFromPSPath($Destination)
        ## Create a new array to hold the file content
        $destBytes = New-Object byte[] $length
        $position = 0
        ## Go through the input, and fill in the new array of file content
        foreach($chunk in $input)
            Write-Progress -Activity "Writing $Destination" `
                -Status "Sending file" `
                -PercentComplete ($position / $length * 100)
            [GC]::Collect()
            [Array]::Copy($chunk, 0, $destBytes, $position, $chunk.Length)
            $position += $chunk.Length
        ## Write the content to the new file
        [IO.File]::WriteAllBytes($destination, $destBytes)
        ## Show the result
        Get-Item $destination
        [GC]::Collect()
    ## Stream the chunks into the remote script
    $streamChunks | Invoke-Command -Session $session $remoteScript `
        -ArgumentList $destination,$sourceBytes.Length
        Remove-PSSession -Session $session

    But have will the script look,  if i need to copy from
    From server2 to server1.
    My script copy from server1 to server2 and working, but I need server2
    to server1.

  • PDF output characters right hand side getting truncated using --PASTA

    H All,
    DB:11.1.0.7
    Oracle Apps:12.1.1
    O/S:Linux Red Hat 86x64
    We are getting right hand side characters truncated for PDF output when Conc Prog is run through EBS.This is the problem.
    But while saving the file on dektop and printing both left and right hand side characters gets printed well within the margin area.
    What could be the problem here please?Could anyone please share the resolution.
    Page size used is: 81/2 x 11 - Letter.
    Thanks for your time!

    We are getting right hand side characters truncated for PDF output when Conc Prog is run through EBS.This is the problem.Is it a seeded or custom concurrent program? Does this happen to all requests or specific ones only?
    But while saving the file on dektop and printing both left and right hand side characters gets printed well within the margin area.What if you print the same file from the server using the lp command?
    What could be the problem here please?Could anyone please share the resolution.
    Page size used is: 81/2 x 11 - Letter.What is the printer type/style?
    Have you tried different printer?
    Also, have you tried to adjust the number of Rows/Columns of this concurrent program?
    Please see if (Custom Landscape Reports In PDF Format Print In Portrait Orientation [ID 421358.1]) helps.
    Thanks,
    Hussein

  • How can I stop acrobat dc continually loading the right hand toolbar on every pdf I open

    How can I stop the right hand toolbar continually loading in the new acrobat dc, it is infuriating and am getting extremely annoyed with it as I have to close it every time I load a pdf.  I use the arrow to close and it reopens on the next pdf.

    Yes very disappointed in how Toolbar functionality generally is so degraded with this DC version. It is as if the product designers have no idea how people use the product. And it degrades its most basic functionality, the ability to read a PDF. I am tempted to switch to one of the many other PDF readers which is one less reason for Creative Cloud.
    The default toolbar contains numerous sticky items that I have never needed in the past 15 years, as sticky icons anyway. That little cell phone icon, email, print, and now with Home/Tools/Document alongside with no ability to move them. These fill valuable toolbar space, the result being that side-by-side windows no longer display the toolbar items I actually use. I almost always have PDFs open beside other applications so this means 100% of the time the new design is flawed vs the prior. This is really really basic for any application: personalized toolbars. It was present in WordPerfect in 1993, for example. DC is not to 1993 UI standards.
    Get on this immediately, please. Specifically, get rid of the persistent right pane as many of us clearly do not want to use it "all the time" as is forced. And, allow the top toolbar to be fully customizable so those of us who have been customizing toolbars in our applications since 1993 can do so in this allegedly state of the art PDF reader.

  • HT1481 I have an ipod shuffle which i need to reset as i can not sinc it on my laptop which is using windows 8, but when i open itunes i d not have the 'source panel' on the left hand side which should show up my ipod. any ideas what i need to do? please

    Hi  I have an ipod shuffle which worked well on my old pc but since i have tried to link it with my new laptop I cant get it to sinc. I have athorised the device to my laptop so i thought it maybe worth resetting it but all the info I have read tells me that to reset my ipod i need to open i tunes and on the left hand side in the 'source panel' i will find my ipod listed but when i open itunes i do not have a source panel so i cant reset it. i have spent days trying to get this problem sorted and am about to throw the thing away. I have tried to manually sinc the thing, i have installed and reinstalled the latest version of itunes, i have restarted my laptop but i dont know what to do next. any help would be very much appreciated. Many thanks in advance

    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Features app in the Window Control Panel. Then reinstall all the Apple software components
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Also see:
    iPod not recognised by windows iTunes
    Troubleshooting issues with iTunes for Windows updates
    - Try on another computer to help determine if computer or iPod problem

Maybe you are looking for