Whilst the answers are correct in this question, people are forgetting the context: Selenium. You give those XPath's to it, and it'll blow up in your face.
Selenium expects XPath queries to return physical DOM elements, and not attributes from those elements.
You should find the element, and use Selenium to get it's text. This could be .getText(), or .Text or something similar in whatever language you are using (C# and Java examples below - assuming driver is a valid Driver instance):
C#:
driver.FindElement(By.XPath("//td[text()="1324"]/following-sibling::td")).Text;
Java:
driver.findElement(By.xpath("//td[text()="1324"]/following-sibling::td")).getText();