Rightrightrightright. Just changing "contains(@arch, 'DIGI')" to "contains(@arch,'DIGI')" fixed it.
Thanks, Jeff. ----- Original Message ---- > From: Hussein Shafie <hussein at xmlmind.com> > To: Jeff Hooker <jeff at itwriting.ca> > Cc: "xmleditor-support at xmlmind.com" <xmleditor-support at xmlmind.com> > Sent: Thursday, October 15, 2009 10:51:42 AM > Subject: Re: [XXE] Problem with XPATH in new applyProperty command > > Jeff Hooker wrote: > > Hi Hussein, > > > > I've got an issue with a particular xpath command when attempting to use > applyProperty > > > > > > > > parameter=";Hide Content;CTRL-click for multi-select;applyProperty;Hide > DIGI;(descendant::*|following::*)[contains(@arch, 'DIGI')] visible no"/> > > > >? > > results in a message stating: > >? '(descendant::*|following::*)[contains(@arch, 'DIGI')] visible no' > > Invalid parameter: > > should be xpath_expr property_name [property_value]? > > The error message seems correct. Command applyProperty expects 2 or 3 > arguments. Because there is a space in > contains(@arch, 'DIGI'), applyProperty thinks you pass it 4 arguments. > > > > > > This happens when I use "contains" in the xpath rather than just > [...@arch='DIGI'] > >? > > When I run the command manually in XMLmind, I get the same message. > >? > > I know I've seen this before; is there a fix? > >? > > Please try: > > > toolTip="Hide Content" > icon="../common/icons2/set_hide_conditions.gif"> > > > parameter=";Hide Content;CTRL-click for multi-select;applyProperty;Hide > DIGI;"(descendant::*|following::*)[contains(@arch, 'DIGI')]" > visible no"/> > > > > Or simply suppress the space in: > > contains(@arch, 'DIGI')

