Commit b8c8910a authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2004-09-28 21:16:29 by beppe] Empty log message

Original author: beppe
Date: 2004-09-28 21:16:29+00:00
parent be7fb57c
......@@ -273,8 +273,17 @@ type <code>ParentBook</code>) then it performs the assignment (the variable
</p>
<p>
The command <code>load_xml "parents.xml"</code> is just an abbreviated form
for <code>load_xml "{{file://}}parents.xml"</code>. If CDuce has been compiled with netclient or curl support, it is also possible to use other URI schemes such as http:// or ftp://. A special scheme string:// is always supported: the string following the scheme is parsed as it is. So <code>load_xml "string://%%exp%%"</code> corresponds to XQuery <code>{%%exp%%}</code> to include litteral XML expression <code>%%exp%%</code>.
The command <code>load_xml "parents.xml"</code> is just an abbreviated form for
<code>load_xml "{{file://}}parents.xml"</code>. If CDuce has been compiled with
netclient or curl support, it is also possible to use other URI schemes such as
http:// or ftp://. A special scheme string:// is always supported: the string
following the scheme is parsed as it is.
<footnote>
All these schemes are available for <code>load_html</code> and <code>load_file</code> as well.
</footnote>
So, for instance, <code>load_xml
"string://%%exp%%"</code> corresponds to XQuery <code>{%%exp%%}</code> to
parse litteral XML expression <code>%%exp%%</code>.
</p>
</box>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment