Even though I can see 'mypropertyname' in the XML has a value when doing copy-of its not putting it out? What is weird is this IS outputting the email of the member so I definitely have access to the XML?
<xls:value-ofselect="$member/@email"/>
Anyone know if there is a bug with member properties and 4.5.2? :(
Took a quick look at the GetMember source-code... it's looking like you'd need to reference the "/node" part in your XPath expressions.
So "$member/node/jobpostername" should work. Obviously you say you've tried that - soooo... might be worth trying to loop through each of the child-nodes (using the wildcard)?
BWAHAHAHAHAHA........ Guess why it doesn't work!!!!
I went back to basics and took Brendans advice and output to a Text area... Then found out the XSL Visualiser is lowercasing all my properties!! They are actually Camel cased.
Can't Access Member Properties (Using 4.5.2)
Having a weird problem getting some member properties, example of code below
Even though I can see 'mypropertyname' in the XML has a value when doing copy-of its not putting it out? What is weird is this IS outputting the email of the member so I definitely have access to the XML?
Anyone know if there is a bug with member properties and 4.5.2? :(
Sorry meant to say, I can get email doing it this way
But that does not work for the properties?
Have you looked at umbraco.config to make sure the xml matches the structure you are expecting in your XPath statement?
Try this to see the properties:
<textarea><xsl:copy-of select="$member"/></textarea>
@Jay - Yep which is which is why I'm stumped
here it is (Have tried the following and cannot get the property)
$member/jobpostername, $member/*/jobpostername, $member/*/node/jobpostername, $member//node/jobpostername, $member/node//jobpostername
$member/node/jobpostername
@Brendan Rice - Yep I did that in the XSL visualiser to make sure I had the right data
$member/@email <- did you try that?
Read second post bud
Hi Lee,
Took a quick look at the GetMember source-code... it's looking like you'd need to reference the "/node" part in your XPath expressions.
So "$member/node/jobpostername" should work. Obviously you say you've tried that - soooo... might be worth trying to loop through each of the child-nodes (using the wildcard)?
Cheers, Lee.
That outputs each of the property names?
I have just tried this using XSLT
And again no output apart from the email!? (Below is screen capture)
I then used the Umbraco member using .NET and it works fine (There is no URL on this one which is why its not showing below)
So I am completely and utterly MIFFED!!!
DUDE! Your property alias are camel-cased! XPath is case-sensitive... Durrrr! haha ;-)
Try: "$member/node/jobPosterName"
Cheers, Lee.
BWAHAHAHAHAHA........ Guess why it doesn't work!!!!
I went back to basics and took Brendans advice and output to a Text area... Then found out the XSL Visualiser is lowercasing all my properties!! They are actually Camel cased.
So changed it to the following and it works....
Yep... I f**king hate XSLT!
From now on I shall always copy-of to a textarea!!
Can't say that I've used the XSLT Visualiser much... good to know that it lowercases things.
Ooops forgot to say, thanks chaps for trying to help anyway :) Everyone gets some karma
is working on a reply...