Tried that as well. I just updated the datatype to store as csv and i get csv list which was what i was trying to create anyways. Not sure if its a bug but it looks like it was rendering literal I even tried using node-set to no avail.
When you say latest from CodePlex, do you mean the v2.0 branch? (just checking) I haven't tested MNTP from there - so not sure if Shannon has changed anything.
If you wanted to be sure, check the value in "umbraco.config" - see if its wrapped in CDATA tags? (it shouldn't be)
To be honest, I think MNTP should only provide a CSV of the nodeIds - the XML is a bit overkill IMHO. (I'll discuss it with Shannon)
Updated to csv and i get the value now. There may be method to the madness in Shannons mind for having xml ? Now next point trying to figure out why the hell a property of type multinode picker set to csv does not appear in my index? I get the property but no values even though they are there and no errors in umbraco log!!!
It doesnt seem to go in as xml or csv. I can understand not going in as xml but csv should go in? Im not using the property so not really an issue at moment.
Multi tree nodepicker xslt issue
Shannon,
I am using the latest source from codeplex and i am getting an issue in xslt. Basically if i do the following in xslt:
<xsl:copy-of select="$currentPage/productsOffered/MultiNodePicker/nodeId"/>
I dont get anything. However if I do
<xsl:copy-of select="$currentPage/productsOffered"/>
I get
Am i missing a trick here?
regards
Ismail
Hey Ismail,
That's strange. What do you get when you output:
Have you tried to loop through the nodeId nodes yet? See the XSLT example on CodePlex:
http://ucomponents.codeplex.com/wikipage?title=MultiNodeTreePicker
Cheers, Lee.
Lee,
Tried that as well. I just updated the datatype to store as csv and i get csv list which was what i was trying to create anyways. Not sure if its a bug but it looks like it was rendering literal I even tried using node-set to no avail.
Regards
Ismail
When you say latest from CodePlex, do you mean the v2.0 branch? (just checking) I haven't tested MNTP from there - so not sure if Shannon has changed anything.
If you wanted to be sure, check the value in "umbraco.config" - see if its wrapped in CDATA tags? (it shouldn't be)
To be honest, I think MNTP should only provide a CSV of the nodeIds - the XML is a bit overkill IMHO. (I'll discuss it with Shannon)
Cheers, Lee.
Lee,
Updated to csv and i get the value now. There may be method to the madness in Shannons mind for having xml ? Now next point trying to figure out why the hell a property of type multinode picker set to csv does not appear in my index? I get the property but no values even though they are there and no errors in umbraco log!!!
Ismail
xml works for me, i'm using it now, exactly like the wiki article says.
Sounds like you got some weirdness going on :)
Shannon,
Are you indexing the property?
Regards
Ismial
haven't looked into an examine index for it, but it's just a value so should go in. If stored as XML, it probably won't go in though.
Xml was the idea of other umbracians for easier querying in xslt without having to use the Split method.
It doesnt seem to go in as xml or csv. I can understand not going in as xml but csv should go in? Im not using the property so not really an issue at moment.
Regards
Ismail
is working on a reply...