1 Reply Latest reply on Aug 18, 2009 11:54 AM by Jasmin Charbonneau

    XPath issue

    Mancini21 Level 1

      Hi Guys,

       

      This is not working

       

      concat("c:\", getDocAttribute(/process_data/@inputDoc,"filename"),"pdf")

       

      The inputDoc variable is a document.

       

      I've tried to use "filename", "wsfilename" and it doesn't work.

       

      With "filename" it works, but only show me string "pdf", and i want to add the filename to "pdf".

       

      How can this works?

       

       

       

      Mancini.

        • 1. Re: XPath issue
          Jasmin Charbonneau Level 4

          Can you try with just hard coding the name first. Something like

           

          concat("c:\", "myFile","pdf")

           

          then the slash might give you some trouble. Try to use a front slash instead like

           

          concat("c:/", "myFile","pdf")

           

          If this works, then we know the problem is just with the getDocAttribute function.

           

          Jasmin