ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-List
zope-List
[Zope] Re: created a structured document
by Maik Jablonski other posts by this author
Dec 18 2002 9:56AM messages near this date
[Zope] created a structured document | [Zope] RE: Any comments from ex-PHP developers?
David Bear wrote:
>  I would like to created a structure text document in a folder called docStor. 
>  
>  The hiearchy looks like this :
>  
>  \-- 	"my add form lives here"
>  \docStor "this is where I want to create the structured doc"
>  
>  I have created a form at '\' called addDoc
>  and a script at '\' to grab fields from the form.  However, I don't know the api to call t
o add a structured document.  I've got the zope book and it uses
>  
>  context.manage_addProduct['OFSP'].manage_addDTMLDocument ...
>  
>  but I don't want to add a dtml doc.
>  
>  Any pointers?

Depends on the Product you use. If you use StructuredDocument 
[http://www.zope.org/Members/mjablonski/StructuredDocument] something like:

context.manage_addProduct['StructuredDocument'].manage_addStructuredDocument(...)

should do the job.

cheers, Maik


-- 
Maik Jablonski                 __o
www.zfl.uni-bielefeld.de     _ \<_    Deutsche Zope User Group
Bielefeld, Germany          (_)/(_)               www.dzug.org




_______________________________________________
Zope maillist  -  Zope@[...].org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
Thread:
David Bear
Maik Jablonski

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved