Hi Aris,
> The query I have run is: se_term -query "doc('test')//font" testdb
> The query above will return empty result when xmlns property was not
> removed
>
You need to specify that font name is in XHTML namespace, for example:
declare namespace ns="http://www.w3.org/1999/xhtml";
doc('test')//ns:font
or (all element names will be in XHTML ns by default):
declare default element namespace "http://www.w3.org/1999/xhtml";
doc('test')//font
or (select font element in any namespace):
doc('test')//*:font
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