cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Portier <...@outerthought.org>
Subject Re: Silly Question NO7: load data from a file of wd: namespace?
Date Fri, 30 Apr 2004 06:41:37 GMT


lechael wrote:

> in cocoon's inbuilt example: 
> http://localhost/samples/woody/form_model_gui.flow
> first create a form===> binding it===> load data to it from  a file 
> ===>invoke a pipeline to show this form by a template
> following is some code extracted from the data file, 
> 1.  it use namepace of wd: !! why???????
>  

how do you mean, why?
why not?

>  
> <?xml version="1.0" encoding="UTF-8"?>
> <wd:form  xmlns:wd="http://apache.org/cocoon/woody/definition/1.0"   
> xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
>   <wd:widgets>
>  

the process that is interpreting these definition files will only look
for elements in this namespace.

(for completeness, wd is not the namespace, but the local profix)

-marc=
-- 
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at                http://blogs.cocoondev.org/mpo/
mpo@outerthought.org                              mpo@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message