Xpath Predicates Case Sensivity Problem

J

Jumato

This is a simliar post to my other one, but I had used X-Path not XPath, and
found that it was not getting any hits.

I am working on a data driven website using Sharepoint Services, I have
implemented a Webform with 7 fields which can be used to Query an XML
document. The 7 fields pass their contents through the visually programmmed
Web Part Connection to the XML Web Part as Parameters. My problem is that
these parameters are case sensitive, and the advanced dialog window under
Filter Criteria does not seem to accept fn:upper-case as a Valid X-Path
function. What is was trying was:
[contains(fn:upper-case(Author),fn:upper-case($Author))]
to get around the case sensitivity. Where Author is the child of Library,
and $Author refers to the parameter that the webform passes to this statement
through the
connection. Becuase the following works:
[contains(Author,$Author)]
I'm stumped... please help....
 
S

Stefan B Rusynko

You may want to try the WSS newsgroup at
news://msnews.microsoft.com/microsoft.public.sharepoint.windowsservices





| This is a simliar post to my other one, but I had used X-Path not XPath, and
| found that it was not getting any hits.
|
| I am working on a data driven website using Sharepoint Services, I have
| implemented a Webform with 7 fields which can be used to Query an XML
| document. The 7 fields pass their contents through the visually programmmed
| Web Part Connection to the XML Web Part as Parameters. My problem is that
| these parameters are case sensitive, and the advanced dialog window under
| Filter Criteria does not seem to accept fn:upper-case as a Valid X-Path
| function. What is was trying was:
| [contains(fn:upper-case(Author),fn:upper-case($Author))]
| to get around the case sensitivity. Where Author is the child of Library,
| and $Author refers to the parameter that the webform passes to this statement
| through the
| connection. Becuase the following works:
| [contains(Author,$Author)]
| I'm stumped... please help....
|
 
J

Jumato

The people on that mailing list said I was in the wrong area as well. If
anyone has any suggestions please email me at:
jtodd(at)hydro(dot)mb(dot)ca
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top