@Fox Большое вам спасибо! Ответ был так близок
Не весь текст сохраняется в File
-
Здравствуйте, я столкнулся с такой проблемой, что при парсинге текста со страницы, я получаю текст вот такого вида:
This structure is used in the set of results returned by the * findNotesMetadata function. It represents the high-level information about * a single Note, without some of the larger deep structu...А мне нужно вот такого:
/** * This structure is used in the set of results returned by the * findNotesMetadata function. It represents the high-level information about * a single Note, without some of the larger deep structure. This allows * for the information about a list of Notes to be returned relatively quickly * with less marshalling and data transfer to remote clients. * Most fields in this structure are identical to the corresponding field in * the Note structure, with the exception of: * * <dl> * <dt>largestResourceMime</dt> * <dd>If set, then this will contain the MIME type of the largest Resource * (in bytes) within the Note. This may be useful, for example, to choose * an appropriate icon or thumbnail to represent the Note. * </dd> * * <dt>largestResourceSize</dt> * <dd>If set, this will contain the size of the largest Resource file, in * bytes, within the Note. This may be useful, for example, to decide whether * to ask the server for a thumbnail to represent the Note. * </dd> * </dl> */ /** * This structure is used in the set of results returned by the * findNotesMetadata function. It represents the high-level information about * a single Note, without some of the larger deep structure. This allows * for the information about a list of Notes to be returned relatively quickly * with less marshalling and data transfer to remote clients. * Most fields in this structure are identical to the corresponding field in * the Note structure, with the exception of: * * <dl> * <dt>largestResourceMime</dt> * <dd>If set, then this will contain the MIME type of the largest Resource * (in bytes) within the Note. This may be useful, for example, to choose * an appropriate icon or thumbnail to represent the Note. * </dd> * * <dt>largestResourceSize</dt> * <dd>If set, this will contain the size of the largest Resource file, in * bytes, within the Note. This may be useful, for example, to decide whether * to ask the server for a thumbnail to represent the Note. * </dd> * </dl> */ /** * This structure is used in the set of results returned by the * findNotesMetadata function. It represents the high-level information about * a single Note, without some of the larger deep structure. This allows * for the information about a list of Notes to be returned relatively quickly * with less marshalling and data transfer to remote clients. * Most fields in this structure are identical to the corresponding field in * the Note structure, with the exception of: * * <dl> * <dt>largestResourceMime</dt> * <dd>If set, then this will contain the MIME type of the largest Resource * (in bytes) within the Note. This may be useful, for example, to choose * an appropriate icon or thumbnail to represent the Note. * </dd> * * <dt>largestResourceSize</dt> * <dd>If set, this will contain the size of the largest Resource file, in * bytes, within the Note. This may be useful, for example, to decide whether * to ask the server for a thumbnail to represent the Note. * </dd> * </dl> */ /** * This structure is used in the set of results returned by the * findNotesMetadata function. It represents the high-level information about * a single Note, without some of the larger deep structure. This allows * for the information about a list of Notes to be returned relatively quickly * with less marshalling and data transfer to remote clients. * Most fields in this structure are identical to the corresponding field in * the Note structure, with the exception of: * * <dl> * <dt>largestResourceMime</dt> * <dd>If set, then this will contain the MIME type of the largest Resource * (in bytes) within the Note. This may be useful, for example, to choose * an appropriate icon or thumbnail to represent the Note. * </dd> * * <dt>largestResourceSize</dt> * <dd>If set, this will contain the size of the largest Resource file, in * bytes, within the Note. This may be useful, for example, to decide whether * to ask the server for a thumbnail to represent the Note. * </dd> * </dl> */Т.е, у меня теряется текст заменяя его точками.. Помогите пожалуйста : )
-
-
-
Как раз таки я и не пойму как цикл этот сделать... Получается чтобы он брал из двух заметок текст, нужно цикличное нажатие на каждую заметку сделать, чтобы в html doc появился текст второй заметки, а про цикл что выше сказал, я сделал идентичный вашему проекту предыдущему.
-

Вот смотрите, мне нужно кликнуть на каждую заметку, чтобы получить текст из неё, я не могу понять, как мне сделать в цикле, чтобы можно было кликать на каждый найденный элемент по классу (XPath) например. То что вы сделали, это работает, но мне нужно получить все заметки, их сейчас 2, но их может быть и 10 и 100 и тд.
-
-
@FreshLik, checkerevernote.xml, но у вас там второй список будет перезаписывать первый