Re: emacs mode (and installation)

Kimbro Staken <[email protected]> Mon, 1 Dec 2003 00:35:25 -0700
Newsgroups gmane.comp.web.syncato.general
Message-ID <[email protected]>
On Nov 29, 2003, at 5:55 PM, Bruce D'Arcus wrote:

> On Nov 29, 2003, at 7:06 PM, Kimbro Staken wrote:
>
>> You can of course include any XML you want within the body of the  
>> post, but it's not the same as posting a root level XML item.
>
> Tell me if I'm on the right track at all here:
>
> http://netapps.muohio.edu/movabletype/archives/darcusb/darcusb/ 
> 000074.html

In general yes. The form is easily customizable and you can change the  
structure of the target XML just by changing the makeup of the form.  
The names of the form fields are XPaths that are used to create the  
target XML document. Here's the major piece of that weblog item form.

			<div id="form">
                                 Title:<br />
                                 <input name="/item/title" size="80"  
value="{item/title}"/><br /><br />
                                 <input type="hidden"  
name="#required#/item/title" value="You must provide a title for the  
post."/>

                                 Body:<br />
                                 <textarea  
name="/item/description#markup" rows="15" cols="80"><xsl:value-of  
select="weblog:serialize(item/description/node())"  
disable-output-escaping="yes"/></textarea><br /><br />
                             </div>

The #required# is a validation hint, and the #markup is a processing  
hint.

The details of all of this are changing though as I'm in the process of  
making the admin tools easier to add your own custom entry types. It  
will mostly be driven by XSL, but it won't be any hardcore XSL.
>
Kimbro Staken
Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/