უილ რეალური XPath წინ გადადგმული ნაბიჯია?

მიმოხილვა:

Created a custom list that manages a content type with some dozen columns.

Added it to a page and then via SPD, converted into a data view.

პრობლემა:

My Xpath expression was returning blank for a column named "Current Position". I referenced it thusly:

    <table border="1">
      <XSL:for-each select="/dsQueryResponse/Rows/Row" >
        <tr>
          <td>
            სტატუსი:
            <XSL:value-of select="@Current_x0020_Status"></XSL:ღირებულების შესახებ>
          </td>
        </tr>
      </XSL>
    </მაგიდა>

The column in the CT is named "Current Status". It shows up in the lookup as "Current Status". Everywhere you look, you see "Current Status".

მიუხედავად იმისა, რომ thrashing madly შესახებ, ეძებს გადაწყვეტა, I instead referred to "@Recruiter" და აჰა! — that actually returned back the current status. I expected it to return back the recruiter when I did that.

Solution:

I poked about in SPD. Go to that page in SPD and it shows the data view. You can inspect the actual data provided to the view and associated Xpath. Here I found out that indeed, the Xpath pointed at "Recruiter". Strangely enough, the "actual" recruiter field pointed from "Recruiter1".

წართმევას:

SPD უზრუნველყოფს ავტორიტეტული XPath გამონათქვამების for რიგები & სვეტის მონაცემების ხედი.

მეორე, it shows the actual data. So for example, სვეტის ტიპის გვიჩვენებს ამ:

<nobr><span><A HREF="/sites/Corporate/HumanResources/TalentAcquisition/_layouts/userdisp.aspx?ID=17">Galvin, პოლ</A><img border ="0" height="1" width="3" src="/_layouts/images/blank.gif"/><href = 'javascript:’ onclick = 'IMNImageOnClick();დაბრუნების ცრუ;’ class = 'ms-imnlink "><img name=’imnmark’ title =” საზღვრის =’0′ სიმაღლე = '12’ ტელეკომპანია '12’ src = "/ _layouts / images / blank.gif’ alt = 'არ ყოფნის ინფორმაცია’ SIP = 'PGalvin@xxx.com’ id = 'imn_77, ივერიის SMTP' /></a></span></nobr>

დატოვე პასუხი

თქვენი ელ-ფოსტა არ გამოქვეყნდება. აუცილებელი ველები მონიშნულია *