<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help - Accesing to a document content using xpath in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/help-accesing-to-a-document-content-using-xpath/m-p/213701#M166831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply, but it seems to be not so easy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The javax.jcr.Node class doesn't have a content() or getContent() method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the spec: &lt;/SPAN&gt;&lt;A href="http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Node.html" rel="nofollow noopener noreferrer"&gt;http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Node.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have more ideas?, Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Apr 2010 09:14:34 GMT</pubDate>
    <dc:creator>aique</dc:creator>
    <dc:date>2010-04-26T09:14:34Z</dc:date>
    <item>
      <title>Help - Accesing to a document content using xpath</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-accesing-to-a-document-content-using-xpath/m-p/213699#M166829</link>
      <description>Hi!.I have some nodes in the company directory. There are plain text files.I'm using xpath to access to each node, but I want to get the content of the text files, and I can't.I've tried to do it using node.getProperty("cm:content").getString(), but it returns information about the properties of the</description>
      <pubDate>Fri, 23 Apr 2010 13:51:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-accesing-to-a-document-content-using-xpath/m-p/213699#M166829</guid>
      <dc:creator>aique</dc:creator>
      <dc:date>2010-04-23T13:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Accesing to a document content using xpath</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-accesing-to-a-document-content-using-xpath/m-p/213700#M166830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;node.content&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 14:58:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-accesing-to-a-document-content-using-xpath/m-p/213700#M166830</guid>
      <dc:creator>invictus9</dc:creator>
      <dc:date>2010-04-23T14:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Accesing to a document content using xpath</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-accesing-to-a-document-content-using-xpath/m-p/213701#M166831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply, but it seems to be not so easy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The javax.jcr.Node class doesn't have a content() or getContent() method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the spec: &lt;/SPAN&gt;&lt;A href="http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Node.html" rel="nofollow noopener noreferrer"&gt;http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Node.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have more ideas?, Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 09:14:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-accesing-to-a-document-content-using-xpath/m-p/213701#M166831</guid>
      <dc:creator>aique</dc:creator>
      <dc:date>2010-04-26T09:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Accesing to a document content using xpath</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-accesing-to-a-document-content-using-xpath/m-p/213702#M166832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've solved it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;String contenido = "";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;InputStream stream = noticia.getProperty("cm:content").getStream();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BufferedReader reader = new BufferedReader(new InputStreamReader(stream));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String linea;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while((linea = reader.readLine()) != null){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; contenido += contenido + linea;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 11:15:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-accesing-to-a-document-content-using-xpath/m-p/213702#M166832</guid>
      <dc:creator>aique</dc:creator>
      <dc:date>2010-04-26T11:15:09Z</dc:date>
    </item>
  </channel>
</rss>

