I'm not sure what you're asking. The "/sample" is the text value inside the 'path' attribute. It has nothing to do with the @ symbol at all.
/action/@path
This returns a text value of "/sample" The '/' is just part of the string, it could be anything inside that attribute value. Is there some kind of problem you're having based on this data?
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.