> Absolutely correct.
>
> -Erik
>
> Peymirat Damien wrote:
>> Thank you Erik for your answer,
>>
>> However, the url schemaLocation="SYS/base/2.0/base.xsd" is not
>> complete. So I can't see how to use the url generator ?? I think I have
>> to build with xslt the complete url before using the url generator but
>> how to have the url of the uploading file ??
>>
>> Thanks again
>>
>> Damien.
>>
>>
>>> Roughly, one way of doing it:
>>>
>>> o Upload your main schema to a service implemented with XPL
>>> o With p:for-each, iterate over the schema imports
>>> o For each import, fetch the imported schema with the URL generator
>>> o Maybe modify the schemaLocation attribute in the main schema to
>>> point to the future location in eXist
>>> o Insert the imported schema into eXist
>>> o Insert the main schema into eXist
>>>
>>> -Erik
>>>
>>> Peymirat Damien wrote:
>>>> Hi all,
>>>>
>>>>
>>>> I'm trying to build a XML Schema database. At the moment, I can
>>>> upload on my eXist database a XML file with a xforms:upload. However,
>>>> I
>>>> have some XML Schema which have an import element like that :
>>>> <xs:import
>>>> namespace="
http://www.example.com/SYS/base/2.0/"
>>>> schemaLocation="SYS/base/2.0/base.xsd"/>. So I would like to know how
>>>> to
>>>> put this file (base.xsd) in my eXist database without asking the user
>>>> to
>>>> upload it ?? In fact I just want that the user uploads his schema and
>>>> automatically the XML schema included in the import element is saved
>>>> in
>>>> my eXist database.
>>>>
>>>>
>>>> Thank you for your suggestions
>>>>
>>>> Best regards
>>>>
>>>> Damien.
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the
>>>>
[hidden email]
>>>> mailing list.
>>>> To unsubscribe: mailto:
[hidden email]
>>>> For general help: mailto:
[hidden email]?subject=help
>>>> ObjectWeb mailing lists service home page:
>>>>
http://www.objectweb.org/wws>>>
>>> --
>>> Orbeon - XForms Everywhere:
>>>
http://www.orbeon.com/blog/>>>
>>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the
[hidden email]
>> mailing list.
>> To unsubscribe: mailto:
[hidden email]
>> For general help: mailto:
[hidden email]?subject=help
>> ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws>
>
> --
> Orbeon - XForms Everywhere:
>
http://www.orbeon.com/blog/>
>