You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: faq.html
+2-1
Original file line number
Diff line number
Diff line change
@@ -70,13 +70,14 @@ <h4>Does css4j work with dom4j 1.x or 2.x?</h4>
70
70
methods that dom4j implements in 2.x but not in 1.6, so it is safe to use with 1.6. Recent versions aren't tested with 1.6 however.</p>
71
71
</div>
72
72
<divid="dom4jbase">
73
-
<h4>Using the dom4j backend, I find that it does not support using the document's uri to retrieve relative urls. How can I work around?</h4>
73
+
<h4>Using the dom4j backend prior to version 3.1, I find that dom4j does not support using the document's uri to retrieve relative urls. How can I work around?</h4>
74
74
<p>You can manually set the base url, doing something like:</p>
75
75
<pre>
76
76
if (document.getBaseURL() == null) {
77
77
document.setBaseURL(baseUrl);
78
78
}
79
79
</pre>
80
+
<p>From version 3.1 onwards, the css4j-dom4j module does implement and support <code>Document.getDocumentURI()</code>.</p>
80
81
</div>
81
82
<divid="dom4janddomwrapper">
82
83
<h4>Does the DOM4J back-end make use of the DOM wrapper, internally?</h4>
0 commit comments