Ivan,

Thank's for your explanation.

I have try insert some html to sedna, and work as expected. But I have
somethings to be noted:
a. When in my page contain an html tag like this: <html
xmlns="http://www.w3.org/1999/xhtml";>, it can be loaded, but I fail to
query the inner element. But after I remove the xmlns property, then
it work as expected.
b. I use xhtml document explained here:
http://www.ibm.com/developerworks/library/tiptidy.html. In that
document, the xml contain non ascii character like in this string:
"Windsor Castle<br />&#169; 2003, Beno&#238;t Marchal". These two
character (&#169; and &#238;) caused error when I load the document in
sedna. How to workaround with this problem?

thanks,
-aris

On 12/29/11, Ivan Shcheklein <shchekl...@gmail.com> wrote:
> Hi Aris,
>
>
> I recommend you to start there http://www.sedna.org/quick-start.html and
> look through available examples.
>
>
> a. Can I save an xhtml (converted from crawled html document) document to
>> sedna?
>>
>
> Any well-formed XML document can be saved in Sedna. So, if you downloaded
> HTML and made well-formed XHTML then yes, you can store it in Sedna.
>
>
>> b. When I save a web domain to sedna, then I will save a xhtml page as
>> a row, isn't it?
>>
>
> There is no "rows" in Sedna. Document is saved as is:
>
> LOAD "path to the document" "name of the document in database"
>
>
>
>> c. The structure of xhtml in a web domain are not similar with each
>> other, if I save many unsimilar structure of documents, then can I
>> retrieve them using xquery with a spesific xquery path (that no all
>> document have this structure)?
>>
>
> Yes, it's possible. You can load all documents in one collection and query
> that collection simultaneously.
>
>
>> d. Is an xml record have a primary key? Can I select an xml record
>> using a primary key?
>>
>
> It doesn't have default key. You can use any field, attribute, element
> content to create index.
>
>
> Ivan Shcheklein,
> Sedna Team
>

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to