Re: [bdbxml] Document modifications are not applied
John Snelson <[email protected]>
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
In that case, you need to add quotes to your query, around that string:
"collection('xmachberk.dbxml')/kenndaten[@doc_id='d"
+ String.valueOf(intDocId) +
"']/felder_als_attribute/@double_feld_r"
John
Stephan Korthoff wrote:
> The "d" after the "=" in "@doc_id=d" is part of our internal document
> identifier. Our documents start with the prefix "d", the full naming scheme
> is d??? where ??? is an integer from 1 to 500.
>
> Stephan
>
>
>>> XmlQueryExpression BerkQExp =
>>>BerkManager.prepare("collection('xmachberk.dbxml')/kenndaten[@doc_id=d"
>>
>>+
>>
>>What is the "d" after the "=" in "@doc_id=d"? I don't think that should
>>be there...
>>
>>
>>> String.valueOf(intDocId) +
>>>"]/felder_als_attribute/@double_feld_r", context);
>>
>>John
>>
>>
>
>
------------------------------------------
To remove yourself from this list, send an
email to [email protected]