Thanks for your quick reply, Bruce, but I suspect, this ain't gonna work.
The received XML sits in p_web.GetValue('xml'), but the template then puts it into a StringTheory-object strxml.SetValue(p_web.GetValue('xml')) instantly, thus I have no chance to access the contents in time.
PrimeParameters routine
! Start of "Start of PrimeParameters Routine"
! [Priority 5000]
! dbgView(p_web.GetValue('xml')) ! this is the incoming REQUEST
! End of "Start of PrimeParameters Routine"
If p_web.xml = 0 ! incoming parameters are just url encoded, either in the URL, or as post data, or as a cookie.
.....
Else ! incoming parameters are in an xml structure
strxml.SetValue(p_web.GetValue('xml'))
Clear(myVariable)
myVariable= strxml.between(p_web.Nocolon('<myVariable>',Net:SingleUnderscore+Net:NoSpaces),p_web.Nocolon('</myVariable>',Net:SingleUnderscore+Net:NoSpaces) , 1, 0, NET:NoCase) ! that needs to be added also
...
The german umlauts get displayed correct, its the Ampersand, < and >, that cause the grief.
I was brave and looked into xFils.CLW. There I found xFileXML.DecodeAmpersand Procedure(String pStr,*String dStr).
I was even more brave, took my heart and added a STOP() each before and inside the CASE-construct.
Nothing happened... the earth did not tremble, did not open up and swallowed me, but nothing else happened at all too, like no STOP().
I also tried with < and >, they too do not converted from < or >.
Perhaps with .DecodeAmpersand we have the culprit?
Until later then,
Wolfgang