~database:(Helm_registry.get "db.database")
()
-let xlinkns = Gdome.domString "http://www.w3.org/1999/xlink";;
-
let restore_environment_on_boot = true ;;
let notify_hbugs_on_goal_change = false ;;
match n with
None -> ()
| Some n' ->
- if n'#hasAttributeNS ~namespaceURI:xlinkns ~localName:href then
+ if n'#hasAttributeNS ~namespaceURI:Misc.xlink_ns ~localName:href then
let uri =
- (n'#getAttributeNS ~namespaceURI:xlinkns ~localName:href)#to_string
+ (n'#getAttributeNS ~namespaceURI:Misc.xlink_ns ~localName:href)#to_string
in
show_in_show_window_uri (UriManager.uri_of_string uri)
else
let module G = Gdome in
let rec aux element =
if element#hasAttributeNS
- ~namespaceURI:Misc.helmns
+ ~namespaceURI:Misc.helm_ns
~localName:(G.domString "xref")
then
mmlwidget#set_selection (Some element)
(function node ->
let xpath =
((node : Gdome.element)#getAttributeNS
- ~namespaceURI:Misc.helmns
+ ~namespaceURI:Misc.helm_ns
~localName:(Gdome.domString "xref"))#to_string
in
if xpath = "" then assert false (* "ERROR: No xref found!!!" *)
(function node ->
let xpath =
((node : Gdome.element)#getAttributeNS
- ~namespaceURI:Misc.helmns
+ ~namespaceURI:Misc.helm_ns
~localName:(Gdome.domString "xref"))#to_string
in
if xpath = "" then assert false (* "ERROR: No xref found!!!" *)
Some node ->
let xpath =
((node : Gdome.element)#getAttributeNS
- ~namespaceURI:Misc.helmns
+ ~namespaceURI:Misc.helm_ns
~localName:(Gdome.domString "xref"))#to_string
in
if xpath = "" then assert false (* "ERROR: No xref found!!!" *)
Some node ->
let xpath =
((node : Gdome.element)#getAttributeNS
- ~namespaceURI:Misc.helmns
+ ~namespaceURI:Misc.helm_ns
~localName:(Gdome.domString "xref"))#to_string
in
if xpath = "" then assert false (* "ERROR: No xref found!!!" *)