RE: Spacing issues?

2003-06-10 Thread Robert Koberg
Hi,

Andre was a bit off with his comments. Also he is using a long-hand version
when there is a simpler way to accomplish it (attribute value templates or
{} in an attribute). Joerg was showing you how to "strip" the leading and
trailing whitespace from your "report-name" element's value.

This is a common requirement when you need to place element content in an
attribute. So you are not using a variable in this case (though you could).
Think about this:


  My report


Just using this value would give you:



You use the normalize-space function to get rid of the extra whitespace so:



Becomes:



I would recommend you both get Mike Kay's XSLT book from Wrox (if it still
out there...), or perhaps Jeni Tennison's Xpath book as it is more geared to
beginners. I wouldn't recommend XML in a Nutshell as an XSL book.

Best,
-Rob

> -Original Message-
> From: Tim Bachta [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2003 3:49 PM
> To: [EMAIL PROTECTED]
> 
> I do not have a xsl:variable named "report-name"  how do I declare that?
> I am going to get that book this evening.
> 
> -Original Message-
> From: Andre Thenot [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2003 4:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Spacing issues?
> 
> That was an XPath expression.
> 
> Use (assuming you have an xsl:variable named "report-name"):
> 
> 
> panel_sw
> 
> 
> Further reading: XML in a nutshell, published by O'Reilly, look
> at chapter on XSL.
> 
> A.
> 
> On Tuesday, June 10, 2003, at 05:19 PM, Tim Bachta wrote:
> 
> > Where do I put that?
> >
> > -Original Message-
> > From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, June 10, 2003 3:06 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Spacing issues?
> >
> > {normalize-space(report-name)}
> >
> > Joerg
> >
> > Tim Bachta wrote:
> >> How come I am getting huge amounts of space between hard-coded items
> > and
> >> database items in my view source when they should be no space
> > according
> >> to my code?
> >>
> >>
> >>
> >> Ex.
> >>
> >> Code =  I would
> > expect
> >> 
> >>
> >>
> >>
> >> Source = 
> >>
> >> * *
> >>
> >>
> >>
> >> Tim Bachta
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> --
> André Thénot - [EMAIL PROTECTED]
> p  e  a  c  e  :  p  a  i  x  :  p  a  x  :  s  h  a  l  o  m
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 2.1-dev Logs at WEB-INF/logs/

2003-04-01 Thread Robert Koberg
You /could/ use it as a distinguisher between an XSL that is used strictly
for 'styling' or an XSL that is used to 'transform' a tree.

You can use two different root elements in an XSL:

- xsl:transform  boo.xslt
- xsl:stylesheet boo.xsl

It doesn't really matter, but it can keep things more 'separated.'

Best,
-Rob

> -Original Message-
> From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2003 11:35 AM
> To: [EMAIL PROTECTED]
> 
> e nio wrote:
> > Also just wondering why the welcome.xslt  has the extension
> > of "xslt" instead of xsl? Not that it matters what extension as
> > long as it matches the structure and namespaces declared in it,
> > but more of curiousity to a changing trend?
> 
> It's like *.jpeg vs. *.jpg ... the old DOS 8.3 file naming.
> 
> Regards,
> 
> Joerg
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tabs in the output

2003-03-20 Thread Robert Koberg
Hi,

This will have the same problems and is totally unnecessary. It is much better,
IMO, to use attribute value templates '{}' when possible.

The problem would be fixed by:


  


best,
-Rob

> -Original Message-
> From: Lionel Crine [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 20, 2003 7:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: tabs in the output
>
>
> Why don't you try :
>
>   
>   results?city= select="name"/>
>   
>   
>
> instead of :
>
> 
>  
> 
>
>
> At 16:10 20/03/2003 +0100, you wrote:
> >Hi!
> >I don' know if this is OT, beause I cant find the problem!
> >
> >I'm writing a stylesheet that transforms xml int xhtml
> >(Transitional/basic/Mobile Profile).
> >I use Cocoon 2.0.4 as publishing framework.
> >
> >I have a problem with a portion of code generated:
> >The goal is to produce something like this:  >href="results?city=Rome">Rome
> >
> >The xml is like this:
> >
> > Rome
> > ...
> > .
> >
> >
> >
> >The stylesheet I wrote is this:
> >
> >
> >.
> > 
> >.
> >
> >
> >
> >But the result is
> >
> >Rome
> >
> >
> >I think the ":
" are tabs, but I really don't know why they are inserted!
> >Of course this causes an error when you follow that link... (not on all
> >browsers... with IE it works correctly, but, for example, with the Nokia
> >Mobile Browser... It doesn't)
> >
> >
> >Is this a encoding problem?? Or a serialization problem?
> >( Here I put the serializaer I use...
> > >name="xhtml-Basic" pool-grow="2" pool-max="64"
> >pool-min="2" src="org.apache.cocoon.serialization.XMLSerializer">
> >-//W3C//DTD XHTML Basic 1.0//EN
> >http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd octype-system>
> >
> >)
> >
> >If yes, How can I solve it??
> >Any idea is well accepted!!
> >
> >Thank you for all the answers. Best regards,
> >
> >Nesto
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Cocoon for persistent URLs

2003-01-29 Thread Robert Koberg
Hi,

The forrest project has much of this problem solved (though the config file
needs adjusting :) for smaller type sites.

The idea is to use an explicit site 'map' (site.xml). There you hierarchically
store the site structure. Your content links point to an identifier in the
site.xml. Then there is some XSL that resolves the link for you. So, you move
things around it does not matter because you reference the identifier not a
hardcoded path.

See:
http://xml.apache.org/forrest/linking.html

best,
-Rob


> -Original Message-
> From: I-Lin Kuo [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 10:20 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Cocoon for persistent URLs
>
>
> That's what I was thinking, more or less. I'd have a monitoring application
> check URLs once a day and generate emails if the files were moved or
> modified. But I was wondering if there were other approaches...
>
> There's also the contract issue of what a persistentURL promises: does it
> merely promise that there will always be some file at that URL, or does it
> promise it's always going to be the same file at that URL?
>
> I-Lin Kuo, Ann Arbor, MI
> Macromedia Certified ColdFusion 5.0 Advanced Developer
> Sun Certified Java 2 Programmer
> Ann Arbor Java Users Group (www.aajug.org)
>
> Original Message Follows
> From: "Geoff Howard" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: <[EMAIL PROTECTED]>
> Subject: RE: Cocoon for persistent URLs
> Date: Wed, 29 Jan 2003 12:22:06 -0500
>
> don't know how one would keep track of moved files automatically, but the
> resource exists action could help with the first part.  you could keep a
> lookup table in database or xml with old location and new location and use
> it to lookup new location when resource exists action fails.
>
> Geoff
>
>  > -Original Message-
>  > From: I-Lin Kuo [mailto:[EMAIL PROTECTED]]
>  > Sent: Wednesday, January 29, 2003 10:57 AM
>  > To: [EMAIL PROTECTED]
>  > Subject: Cocoon for persistent URLs
>  >
>  >
>  > Has anybody here used Cocoon to implement persistent URLs? I
>  > don't mean just
>  > technical using Cocoon to make the URL independent of the actual file
>  > location (that's simple using sitemaps), but am interested in how
>  > to manage
>  > this. For example, some of the issues are:
>  >   - making sure the file exists at the remapped URL and what to do if it
>  > disappears or is modified
>  >   - how to keep track of files that get moved.
>
>
> _
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: newbies documentation - requirements?

2003-01-27 Thread Robert Koberg
Hi,

> -Original Message-
> From: Steven Noels [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 27, 2003 5:33 AM

> Bertrand Delacretaz wrote:

> > 3) MUST clearly identify these docs as being "for beginners" and
> > "reviewed by an editor of the Cocoon team" to prevent beginners from
> > getting lost in obsolete/unreliable docs
>
> That might warrant a different Wiki instance for these docs since this
> breaks the fundamental 'uncategorization-ness' of Wikis... or we would
> have to hack JSPWiki. A Wiki doesn't know 'sections', or it ain't a true
> Wiki...

perhaps dreaming, but... :)
How about adding a tab structure/frameset that toggles between Wiki editing of
the page and a metadata view. Using Dublin Core's core elements, it makes it
easy to create a flexible form. The form consist of a toolbar containing a save
button and three dropdowns for the 3 DC categories (Content, Intellectual
Property, Instantiation). The *.dcxml file is used to populate the form if it
exists. If new or adding an element, the user selects from the dropdown and
JavaScript writes a new row containing that metadata item. Save puts it in the
central location.

//cool_block.dcxml

http://www.w3.org/1999/02/22-rdf-syntax-ns#";
xmlns:dc="http://purl.org/dc/elements/1.1/";>
  http://a.org/cool_block.html";>
Cool Cocoon block Blah
Cocoon.User.Blocks.Cool
This block handles blah blah...
Cocoon
cool_block
Joe Developer
Joe Developer's Company
Jimmy User
Johnny Editor
Open Source
2003-01-22 19:05
text/html
  



  
http://cocoondev.org/dc/{$focus_id}.dcxml"/>
...

All metadata is stored in one location. Pages can live anywhere. Metadata is
transformed into a documentation site 'index' or perhaps it creates a site based
on the dc:Subject. The rdfDescription/@about links/is-fed the described
resource. If someone would like to add documentation they add the metadata to
the central location.

best,
-Rob



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Using the Cocoon pipeline outside web apps

2002-12-15 Thread Robert Koberg
Hi,

Given your questions, I wonder if cocoon is necessary, and in fact, your
expectations. Cocoon s overkill for many things people use it for... Why do you
want to publish to a binary format? Why not simple HTML? Wouldn't that give your
users more/better access to your information?

What you are asking for is pretty simple. In fact, I would give free access to
hiking groups (especially those documenting the PCT, CDT, AT). If there are
similar things in Europe (given your name) I would support that too. I would
probably write the stylesheets if your trail is long (not interested in short
hikes).

Let me know if I can help.


 Robert Koberg
liveSTORYBOARD
  415-615-9079
 San Francisco

> -Original Message-
> From: Olivier Mengué [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 15, 2002 4:04 PM
> To: [EMAIL PROTECTED]
> Subject: Using the Cocoon pipeline outside web apps
>
>
> Hi,
>
> I'm working on a project that will generate OpenOffice.org document from
> data extracted from a database. Our aim is to automatise the publishing of
> the program of hikes for my hikers association. It is actually done with a
> Microsoft Word document merge and it is not satisfying. PDF is not an option
> as publishers have to do additionnal editing after the automatic step.
> The output document will be many pages long, so we want to process in batch
> instead of as a web application.
>
> As OpenOffice.org document format is XML, I would like to reuse the Cocoon
> pipeline with an ESQL transformer from a simple Java application.
>
> My question are :
> - is it possible ? I mean, is it possible to reuse just the pipeline in a
> standard Java application, without the sitemap and servlet stuff, without
> too much code or too many dependencies. The pipeline would be either
> hard-coded or specified with a simpler sitemap-like configuration file.
> - how ? The package org.apache.cocoon.components.pipeline seems interesting,
> but I don't know which class to use and how to build a simple pipeline with
> a generator, a transformer and serialiser. Then, how to feed the pipeline ?
>
> Could you point me to the important classes, and the order to create them ?
>
>
> Thank you for your help,
>
> Olivier Mengué



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Confused about xsl:include

2002-12-12 Thread Robert Koberg
Hi,

Put some text in your:
boo

  

Does it get there?

Try your transformation at the commandline and see if you get better error
messages.

It would probably better to post these questions on the XSL list, but you could
try posting sample XML and the XSL that attempts to apply-templates to get to
the title.

best,
-Rob



> -Original Message-
> From: Jeff Sexton [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 12, 2002 11:35 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Confused about xsl:include
>
>
>
>
>
> On Thu, 12 Dec 2002, Timothy Larson wrote:
> > Check your log files...maybe the xsl:include is not looking in the
> > directory that you expect and so not finding the file to include.
>
> I know that's not it because if I use a bogus href in the include, I get
> an exception thrown.
>
> This is very puzzling.
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: AW: PHP functionality

2002-11-05 Thread Robert Koberg



Someone on the forrest list had this 
problem. Vadim responded with:
 

According to http://www.php.net/manual/en/language.basic-syntax.php, 
following should work:

echo ("some editors (like FrontPage) don't like processing instructions");

    -Original Message-From: Derek Hohls [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 05, 2002 4:35 AMTo: [EMAIL PROTECTED]Subject: Re: AW: PHP functionality Also suggest you do some reading of your own...  have a look at the database tutorials linked off of: http://xml.apache.org/cocoon/tutorial/index.html (the one by Leigh Dodds is especially helpful, and there is also one by Michal Durdina)   and maybe think about a different approach from the PHP one that you may be used to ... i.e. one that fits into the Cocoon philosophy of "separation of concerns" (you *do* know about this, I assume ;-)>>> [EMAIL PROTECTED] 05/11/2002 02:23:01 >>>Dear Hai,there is a scripting language available for Cocoon,namely XSP, where you can execute Java-Statements.To access databases an alternative approach would beto use a component as the SQL Transformer.Greetings!Rimbert> -Ursprüngliche Nachricht-> Von: HA, Hai [mailto:[EMAIL PROTECTED]]> Gesendet: Dienstag, 05. November 2002 12:27> An: '[EMAIL PROTECTED]'> Betreff: PHP functionality>>> Hello experts,>> I was wondering if anyone out there could provide me with some pointers> about how to integrate PHP code with Cocoon?  Specifically I have some XML> documents that are serialised to HTML pages but I would like to add PHP> functionality to enable data to be passed to and from a MySQL database and> inserted into the final HTML page.>> If anyone could please give me some tips or ideas on how this> might be done> I will be most grateful.>> Regards,>> Hai>>> _> This email is confidential and intended solely for the use of the> individual to whom it is addressed. Any views or opinions presented are> solely those of the author and do not necessarily represent those of> SchlumbergerSema.> If you are not the intended recipient, be advised that you have received> this email in error and that any use, dissemination, forwarding,> printing,> or copying of this email is strictly prohibited.>> If you have received this email in error please notify the> SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.> _>>> -> Please check that your question  has not already been answered in the> FAQ before posting. >> To unsubscribe, e-mail: <[EMAIL PROTECTED]>> For additional commands, e-mail:   <[EMAIL PROTECTED]-Please check that your question  has not already been answered in theFAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail:   <[EMAIL PROTECTED]>


RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread Robert Koberg
Hi again,

There are a couple of ways to keep this type of thing application nuetral:

1. create a Node object and pass that into the Transform. For example:

Node root = null;
try {
  DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
  factory.setNamespaceAware(true);
  DocumentBuilder docbuilder = factory.newDocumentBuilder();
  org.w3c.dom.Document outNode = docbuilder.newDocument();
  root = docbuilder.parse(new InputSource(new
StringReader(restrictions.toString(;
} catch (Exception e) {
  System.out.println(e);
}

2. use something like  to retrieve the string which comes back
as a nodeset.

best,
-Rob



> -Original Message-
> From: Ryan Agler [mailto:ryanagler@;hotmail.com]
> Sent: Thursday, October 24, 2002 8:11 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.
>
>
> Yes, I use that exact same technique (hidden textareas).  To get the
> parameter back as XML, I wrote an XSP that grabs the request parameter
> XML string, turns it into a DOM document, and then iterates through the
> DOM nodes to emit corresponding SAX events.  Now my Java isn't the best
> in the world, there is probably a better way, but it works for me.
>
> -Original Message-
> From: ROSSEL Olivier [mailto:olivier.rossel@;airbus.com]
> Sent: Thursday, October 24, 2002 4:06 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.
>
> > It will work for a textarea if that is an option, but for an
> > input, all the tags get stripped out and just the content
> > gets included.
>
> This is a very interesting thread.
> So with hidden textareas or you custom class, I can pass the XML
> fragment.
> But when receiving the request parameter in my XSL, how can I transform
> it
> into a XML fragment again and out put it of the transformation?
> Is the noddeset() function useful in that case?
>
> This e-mail is intended only for the above addressee. It may contain
> privileged information. If you are not the addressee you must not copy,
> distribute, disclose or use any of the information in it. If you have
> received it in error please delete it and immediately notify the sender.
> Security Notice: all e-mail, sent to or from this address, may be
> accessed by someone other than the recipient, for system management and
> security reasons. This access is controlled under Regulation of
> Investigatory Powers Act 2000, Lawful Business Practises.
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-23 Thread Robert Koberg
Hi,

Can you simply do:







or perhaps:





best,
-Rob

> -Original Message-
> From: Ryan Agler [mailto:ryanagler@;hotmail.com]
> Sent: Wednesday, October 23, 2002 10:20 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.
> 
> 
> I had this problem too, and had to write a custom java class to do this
> inside XSLT, but it works.  
> 
> 
> http://www.w3.org/1999/XSL/Transform";
> version="1.0" xmlns:java="http://xml.apache.org/xslt/java";
> exclude-result-prefixes="java">
> 
> 
> 
> 
> 
> 
> 
>  select="java:agler.SerializeXml.serializeXml($convertThisNode)"/> ttribute>
> 
> 
> 
> 
> 
> 
> Not sure if you are familiar with making your own Jars (took me awhile
> to figure out), but if you are, create you own jar and make it available
> to Cocoon by putting it in Tomcat's common/lib and reference it in
> web.xml's extra-classpath.  Here is the source for SerializeXml:
> 
> package agler;
> import org.w3c.dom.Node;
> import org.apache.xalan.serialize.SerializerToXML;
> import java.io.StringWriter;
> public class SerializeXml
> {
>public static String serializeXml(Node node)
>{
>   String ret = "";
>   try 
>   {
> StringWriter sw = new StringWriter();
> SerializerToXML serxml = new SerializerToXML();
> serxml.setWriter(sw);
> serxml.serialize(node);
> ret = sw.toString();
>   }
>   catch (Exception e){}
>   return ret;
>}
> }
> 
> Hope this helps, good luck.
> +Ryan
> 
> 
> 
> 
> -Original Message-
> From: ROSSEL Olivier [mailto:olivier.rossel@;airbus.com] 
> Sent: Wednesday, October 23, 2002 5:05 AM
> To: '[EMAIL PROTECTED]'
> Subject: [Off-topic:XSLT] Passing an XML fragment via a HTML form.
> 
> I have a HTML form, created from a XML file and a XSL Treansformation.
> 
> I need to pass a subtree of that XML as a parameter, via that form.
> 
> Is there a way, in XSLT, to transform a XML fragment into a string?
> So I can have an  in my form that contains the text of this XML
> fragment.
> 
> Corrolair when processing parameters sent by the form: 
> is there a way, in XSLT, to transform as string into a XML fragment?
> 
> 
> 
> 
> ---cut here---
> 
> 
> This e-mail is intended only for the above addressee. It may contain
> privileged information. If you are not the addressee you must not copy,
> distribute, disclose or use any of the information in it. If you have
> received it in error please delete it and immediately notify the sender.
> Security Notice: all e-mail, sent to or from this address, may be
> accessed by someone other than the recipient, for system management and
> security reasons. This access is controlled under Regulation of
> Investigatory Powers Act 2000, Lawful Business Practises.
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Robert Koberg

Another thought:

var action_xxx = eval("document.formName.cocoon-action-xxx");

-Rob

> -Original Message-
> From: Robert Koberg [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 18, 2002 8:58 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Invoking Cocoon actions via JavaScript
>
>
> Hi,
>
> You could loop over the form's element array, use a switch statement
> and use the
> name string as a case match to set up your action input element objs in some
> kind of body onload init function.
>
> var action_xxx;
> var action_yyy;
> var elems = frmObj.elements;
> for (var i=0; i switch (elems[i].name)
> case "cocoon-action-xxx":
>   action_xxx = elems[i];
> case "cocoon-action-yyy":
>   action_yyy = elems[i];
> }
> }
>
> best,
> -Rob
>
> > -Original Message-
> > From: Hunsberger, Peter [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 18, 2002 8:28 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: Invoking Cocoon actions via JavaScript
> >
> >
> > One of our developers has run into an issue that I can't see an easy
> > solution to.  However, I also can't believe that no one else has run into
> > the problem.
> >
> > We have a form where we are using IE 5.5 (and above) DHTML to enable drop
> > and drag editing to reorder fields.  As the result of a drop, we determine
> > some positional values, place these values into the form and then attempt to
> > submit the form to the server where the values will be placed in a database.
> > In order to submit the form, the JavaScript code has to invoke the proper
> > HTML action for the form, which is named using the Cocoon standard
> > "cocoon-action-" format.  Since JavaScript attempts to resolve the
> > action name as an JavaScript object it eventually turns a string of this
> > format into three object names separated by  two minus signs and
> > subsequently blows up trying to subtract non-existent JavaScript objects
> > from each other.
> >
> > One obvious fix would be to change Cocoon to not use "-" in the action
> > names. Given that this would break just about every Cocoon implementation in
> > the world I'm hoping that someone has run into this before and found a work
> > around on the JavaScript side of the world?
> >
> > Peter Hunsberger
> >
> > Phone: 901-495-5252
> > E-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > Please check that your question  has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Robert Koberg

Hi,

You could loop over the form's element array, use a switch statement and use the
name string as a case match to set up your action input element objs in some
kind of body onload init function.

var action_xxx;
var action_yyy;
var elems = frmObj.elements;
for (var i=0; i -Original Message-
> From: Hunsberger, Peter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 18, 2002 8:28 AM
> To: '[EMAIL PROTECTED]'
> Subject: Invoking Cocoon actions via JavaScript
>
>
> One of our developers has run into an issue that I can't see an easy
> solution to.  However, I also can't believe that no one else has run into
> the problem.
>
> We have a form where we are using IE 5.5 (and above) DHTML to enable drop
> and drag editing to reorder fields.  As the result of a drop, we determine
> some positional values, place these values into the form and then attempt to
> submit the form to the server where the values will be placed in a database.
> In order to submit the form, the JavaScript code has to invoke the proper
> HTML action for the form, which is named using the Cocoon standard
> "cocoon-action-" format.  Since JavaScript attempts to resolve the
> action name as an JavaScript object it eventually turns a string of this
> format into three object names separated by  two minus signs and
> subsequently blows up trying to subtract non-existent JavaScript objects
> from each other.
>
> One obvious fix would be to change Cocoon to not use "-" in the action
> names. Given that this would break just about every Cocoon implementation in
> the world I'm hoping that someone has run into this before and found a work
> around on the JavaScript side of the world?
>
> Peter Hunsberger
>
> Phone: 901-495-5252
> E-mail: [EMAIL PROTECTED]
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Xopus2 has been open sourced

2002-09-08 Thread Robert Koberg

Hi Michael,

What are your thoughts on Xopus? Did you just need any client editor and Xopus
was the best out of the choice(s)? Or do you believe Xopus to be an excellent
product?

Have you compared it to the commercial version? Is it just 'less buggy' as they
state or is there interesting functionality?

It seems weird that they have the commercial version being sold as 'less buggy.'
Is the OS version intentionally buggy to get people to buy the commercial
version?

I am having trouble understanding this business model.


-Rob



> -Original Message-
> From: Michael Wechner [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, September 08, 2002 9:51 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: Xopus2 has been open sourced
>
>
> ok, Wyona now includes Xopus.
> You can try it out at
>
> http://195.226.6.74:38080/wyona-cms/forum/authoring/index.html
>
> (login with "wyona" and "levi".)
>
> Note, that this publication is generating a RSS, which is XIncluded
> by another publication:
>
> http://195.226.6.74:38080/wyona-cms/wyona.org/index.html
>
> I have also updated the documentation with regard to Xopus a bit:
>
> http://195.226.6.74:38080/wyona-cms/docs/xdocs/xopus2.html
>
> There you will find info on "Browser Requirements" to be able to use Xopus.
>
> In case you are interested in the code then just use the
> CVS version:
>
> http://www.wyona.org/download/index.html
>
> The next step will be to get rid of the Wyona dependencies
> and maybe move it to cocoon-apps or cocoondev
>
> Another step would be to further refactor it, for instance make
> it work with arbitrary sources (for instance HSQLDB) or even
> write a WebDAV driver for Xopus such that it can be used together
> with Slide.
>
> Have fun
>
> Michael
>
>
>
>
>
>
> Michael Wechner wrote:
>
> >
> >
> > Marcelo F. Ochoa wrote:
> >
> >> Michael Wechner wrote:
> >
> >
> >>
> >>
> >> I would like to include Xopus editor into DBPrism CMS.
> >> But, probably we will meet at OSCOM San Francisco :) then I will use
> >> this oportunity to know Xopus in deep.
> >
> >
> >
> > Sure. Yes, I am sure we will meet and we can connect it to DBPrism CMS
> > just there on the spot if you like.
> > BTW: Xopus will also give a presentation (we have to update the program
> > though), quite probably on Thursday September 26 at 17:00.
> >
> > Michael
> >
> >
> >>
> >>>
> >>>
> >>> Michael
> >>>
> >>   Best regards, Marcelo.
> >>
> >
> >
>
>
> --
> OSCOM - Open Source Content Management Conference
> September 25th - 27th 2002, Berkeley, California
> http://www.oscom.org/conferences/berkeley2002/
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Formatting strings in a xsl

2002-09-06 Thread Robert Koberg

Hi,

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>
> Dear Johannes Wechsler wrote:
>
> Check the return type the the start method. You declare it void
> and then return a String. That looks suspicious.


You cannot send a string into the transformation and expect it to be a nodeset.

Here is some code that creates a nodeset:

Node root = null;
try {
  DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
  factory.setNamespaceAware(true);
  DocumentBuilder docbuilder = factory.newDocumentBuilder();
  org.w3c.dom.Document outNode = docbuilder.newDocument();
  root = docbuilder.parse(new InputSource(new
StringReader(restrictions.toString(;
} catch (Exception e) {
// whatever
}

then pass 'root' in with setParameter.

best,
-Rob


>
> Alan Hodgkinson.
>
> > Hi,
> > I use a webservice to access the Xindice-database. The URL I access is:
> > http://localhost:8004/glue/DBServer/xPathQuery?collectionName=johannes2&quer
> > yString=//projects
> >
> > The method "xPathQuery" returns the (nearly) the following string:
> > 
> >Test 1
> >  Erstes Projekt
> >  Die erste Person
> > 
> >
> > The code of the xsp which calls the webservice is listed below:
> >
> > 
> >String key;
> >
> >public void start()
> >{
> >   BufferedReader in = new BufferedReader( new InputStreamReader (
> > webserviceURL.openStream() ) );
> >   key = "";
> >   while ( ( s = in.readLine() ) != null )
> >   { key += s; }
> >   in.close();
> >
> >   return key;
> >}
> > 
> >
> > 
> > start() 
> > 
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Formatting strings in a xsl

2002-09-06 Thread Robert Koberg

Hi,

I don't know how to do it cocoon, but basically you need to convert the string
to a nodeset (a DOM Node) making sure you set the
javax.xml.parssers.DocumentBuilderFactory to your parser's version. Then
setParameter on the transformer to pass the nodeset in as a top-level param to
the transformation.

best,
-Rob


> -Original Message-
> From: Johannes Wechsler
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 06, 2002 7:59 AM
> To: [EMAIL PROTECTED]
> Subject: Formatting strings in a xsl
>
>
> Hi,
> I use a webservice to access the Xindice-database. The URL I access is:
> http://localhost:8004/glue/DBServer/xPathQuery?collectionName=johannes2&quer
> yString=//projects
>
> The method "xPathQuery" returns the (nearly) the following string:
> 
>Test 1
>  Erstes Projekt
>  Die erste Person
> 
>
> The code of the xsp which calls the webservice is listed below:
>
> 
>String key;
>
>public void start()
>{
>   BufferedReader in = new BufferedReader( new InputStreamReader (
> webserviceURL.openStream() ) );
>   key = "";
>   while ( ( s = in.readLine() ) != null )
>   { key += s; }
>   in.close();
>
>   return key;
>}
> 
>
> 
> start() 
> 
>
> My problem is that the following xsl doesn't recognize the received string
> as a valid xml document and commands like  select="projectLeader"/> ignore my string. I want to format the received
> string via my xsl, but that doesn't function.
>
> Can anyone help me?
>
> Regards,
> Johannes
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Using parameters in a xsl

2002-09-06 Thread Robert Koberg

You can also write this more simply by using an 'attribute value template':



best,
-Rob


> -Original Message-
> From: Christian Haul [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 06, 2002 3:48 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Using parameters in a xsl
> 
> 
> On 06.Sep.2002 -- 12:00 PM, Johannes Wechsler wrote:
> > 
> >  > select="projectName"/>/>
> 
> since Judith answered the first one, xsl has similar elements:
>  select="projectName"/>
> 
> Here projectName needs to be a nested tag to whatever is the current
> context node.
> 
> You might want to have a look at the excellent tutorials and references
> at www.zvon.org
> 
>   Chris.
> -- 
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
> fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Unit testing xslt

2002-08-29 Thread Robert Koberg

Hi,

We maintain a base set of XSLs for each client project (similar to Forrest). We
have a need to update or 'fix' XSL's.  This requires some functional testing. We
first transform to an XML document that describes the structure. Here is a
snippet of the XSLT:



   

A basic 1 column layout. This is a primary stylesheet. Each primary
stylesheet includes global_definitions.xsl, which in turn includes the common
XSL pages. Much of the layout can be affected just by changing the
/css/project.css. When a page is requested/generated, a source XML (always
/WEB-INF/styling/site.xml) is transformed against a primary XSL.

global_definitions.xsl includes the common XSL templates, gathers
parameters sent in
from  the server and sets up common global variables.
  
 



 
 



 
  


  Depending on the value of this variable paths will be built starting
from root relative if true, or document relative if falses.
  
 



 
 



 
  

  match the document root to start setting up the HTML page
structure
  
 





   
  

 
call to head.xsl to set up the HTML HEAD

   

  

   
   

  

   

etc..
-

Then this output is transformed to a report and or used to update/fix existing
XSL

best,
-Rob



> -Original Message-
> From: Stephen Ng [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 29, 2002 6:49 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Unit testing xslt
>
>
> I have unit tests for all my xslt.
>
> I'm not using XSLTUnit (which is a fine program)--in my case, for each
> xslt file, I have a one or more test input files and corresponding
> reference files which are the expected result when I run the transform.
> I use file names/extensions to group them:
>
> myScript.xslt
> myScript.simpleTest.xml
> myScript.simpleTest.ref
> myScript.complexTest.xml
> myScript.complexTest.ref
>
> I use a combination of batch jobs and ant scripts to match up the files,
> run the tests, and compare the results.
>
> I don't always do test-first--sometimes it's just easier to test your
> code inside your app.  So what I often do is write the code, test it in
> the app, and then write the tests.  I then back out my change, and run
> the tests again.  The tests should fail--if they don't, I've done
> something wrong in my test code.  I then reintroduce my changes one bit
> at a time, and make sure sure my tests start to succeed again.
>
> I think unit testing xslt's is a great thing.
>
> HTH,
>
> Steve
>
> > -Original Message-
> > From: Robert Leftwich [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 28, 2002 9:58 PM
> > To: [EMAIL PROTECTED]
> > Subject: Unit testing xslt
> >
> >
> > Given Cocoon's big focus on transforms, I was wondering if
> > anyone is using
> > unit tests and/or test-first design when developing their xslt? I'd
> > appreciate any comments on its effectiveness and what tools
> > you are using
> > (XSLTunit for example?).
> >
> > Robert>



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: How to get xml-entities into Javascript strings?

2002-08-26 Thread Robert Koberg

Oh, sorry... I understand now.

We have some pretty hairy JS regexps to handle this for pastes into our editor.
I would not recommend it.

What I would recommend (if you need an alert) is to write the string to a html
div and show/hide your custom alert box. This way you do not need to worry about
converting it. It is a ~standard~ browser entity.

best,
-Rob

p.s. you still need to normalize your spaces in js


> -Original Message-
> From: Koen Pellegrims [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 26, 2002 9:21 AM
> To: [EMAIL PROTECTED]
> Subject: RE: How to get xml-entities into Javascript strings?
>
>
> Maybe my post wasn't very clear; the XML contains ë but JavaScript
> expects \U00EB (which is 235 in hex).
> Instead of reinventing the wheel, I was hoping there would be some standard
> way to convert from one into the other.
>
> K.
>
> > -----Oorspronkelijk bericht-
> > Van: Robert Koberg [mailto:[EMAIL PROTECTED]]
> > Verzonden: maandag 26 augustus 2002 17:10
> > Aan: [EMAIL PROTECTED]
> > Onderwerp: RE: How to get xml-entities into Javascript strings?
> >
> >
> > Hi,
> >
> > You almost have it. But with XSLT you have to watch out for
> > whitespace. There
> > are two ways to handle it:
> >
> > 1. Use xsl:text
> > alert('
> > 
> > ');
> >
> > 2. alert('');
> >
> > best,
> > -Rob
> >
> > > -Original Message-
> > > From: Koen Pellegrims [mailto:[EMAIL PROTECTED]]
> >
> > > Hi,
> > >
> > > (Not specifically cocoon-related, flame me if you want to...)
> > >
> > > I ran into some trouble trying to generate a snippet of
> > JavaScript from an
> > > XML-file, containing entity-references.
> > > The problem can be reduced to this:
> > >
> > > XML-file:
> > > 
> > > ë is ë in HTML, or ë... if you can see this ;-)
> > >
> > > XSL:
> > > 
> > >   
> > >   alert('<xsl:value-of select="@name"/>');
> > >   
> > > 
> > >
> > > I'm not that strong in JavaScript, but I know JS expects Unicode-type
> > > encodings of the form \U.
> > > Is there a standard way to convert XML entities into JavaScript
> > entities or
> > > is there a cunningly simple solution to this problem?
> > >
> > > Koen
> > > >
> >
> >
> >
> > -
> > Please check that your question  has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
> >
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: How to get xml-entities into Javascript strings?

2002-08-26 Thread Robert Koberg

Hi,

You almost have it. But with XSLT you have to watch out for whitespace. There
are two ways to handle it:

1. Use xsl:text
alert('

');

2. alert('');

best,
-Rob

> -Original Message-
> From: Koen Pellegrims [mailto:[EMAIL PROTECTED]]

> Hi,
>
> (Not specifically cocoon-related, flame me if you want to...)
>
> I ran into some trouble trying to generate a snippet of JavaScript from an
> XML-file, containing entity-references.
> The problem can be reduced to this:
>
> XML-file:
> 
> ë is ë in HTML, or ë... if you can see this ;-)
>
> XSL:
> 
>   
>   alert('');
>   
> 
>
> I'm not that strong in JavaScript, but I know JS expects Unicode-type
> encodings of the form \U.
> Is there a standard way to convert XML entities into JavaScript entities or
> is there a cunningly simple solution to this problem?
>
> Koen
> >



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Common practice: how to keep links to html-trees consistent

2002-08-20 Thread Robert Koberg

Hi,

Perhaps it is an easy thing to do, but what happens if you stage your sites
(dev, qa, certification, live) or have a distribution of software you want
to document (you want the HTML to work wherever the user downloads it). Or
perhaps you want to hand it off to your boss to look over on her flight to
Hawaii.

I don't see passing a parameter working, either. Do you have to pass params
for each link on each generated page?

What happens when you want to swap pages and folders around? If you
referenced all you your links by ID, then get in the context of that page in
a site 'map' and recursively find your path - you will always have accurate
links.

I don't see an easier way to maintain link integrity.

best,
-Rob


-Original Message-
From: Ivan Luzyanin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 12:45 AM
To: Cocoon-users mailing list
Subject: Re: Common practice: how to keep links to html-trees consistent


Easiest solusion is to use ... in your
generated pages

Ivan.
P.S.  http://www.w3.org/TR/REC-html32.html#base

On Mon, 2002-08-19 at 23:42, Koen Pellegrims wrote:
> Guys,
>
> This is something that most of you *must* have come across at one point or
> another, and I am just looking for the best solution (I know it is not
> really a Cocoon-question, but Cocoon might provide some nice and elegant
> solution for this...)
>
> Menu on my site that contains a link to the index-page (index.html)  and
> links to (among others) a product-page. In the page-hierarchy, the
> product-pages are contained within a 'products' directory.
>
> index.html
> products/productA.html
> products/productB.html
>
> The problem arises when I display this menu on a product page, because the
> browser (rightly so) interprets 'index.html' as being relative to the
> 'products'-directory.
>
> So, whereas the link to 'index.html' is correct from the index-page, it
> refers to 'products/index.html' on any product page. (and even worse: a
link
> to productA suddenly becomes a link to products/products/productsA.html)
>
> My question is simple: did any of you encounter this problem? And -of
> course- how did you solve it?
>
> Koen


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Common practice: how to keep links to html-trees consistent

2002-08-19 Thread Robert Koberg

Hi,

This is relatively easy to do with XSL.

You can mirror your site structure in XML (produced dynamically or
manually).  Say it turns out to be something like:


  
  


  


I transform against this XML to get my context in the site (I use more
attributes but this gives you the idea - if you like I can post an example
site with XSL and XML). Once I have this I can create all my paths based on
the relative location of the page.  So I might have this defined at the top
level:





  

  ../
  


  /

  


  ../
  


Then wherever I have a link, whether it is a tab, nav item, snail trail,
pager, etc I can call a template from a page's context. For example:


  

  
  

  

  


  
  
/


  /
  
  


best,
-Rob





-Original Message-
From: Koen Pellegrims [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 1:43 PM
To: Cocoon-Users@Xml. Apache. Org
Subject: Common practice: how to keep links to html-trees consistent


Guys,

This is something that most of you *must* have come across at one point or
another, and I am just looking for the best solution (I know it is not
really a Cocoon-question, but Cocoon might provide some nice and elegant
solution for this...)

Menu on my site that contains a link to the index-page (index.html)  and
links to (among others) a product-page. In the page-hierarchy, the
product-pages are contained within a 'products' directory.

index.html
products/productA.html
products/productB.html

The problem arises when I display this menu on a product page, because the
browser (rightly so) interprets 'index.html' as being relative to the
'products'-directory.

So, whereas the link to 'index.html' is correct from the index-page, it
refers to 'products/index.html' on any product page. (and even worse: a link
to productA suddenly becomes a link to products/products/productsA.html)

My question is simple: did any of you encounter this problem? And -of
course- how did you solve it?

Koen




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Logging and Form Validation

2002-06-07 Thread Robert Koberg

Well... you are making a very general statement.

Not all implementations of forms need to be accessible to everyone. In my
case (a wysiwyg editor, cms), there is no way to do what I want to do
without JavaScript. My clients think they have gone to heaven. Also, they
happily go and download IE6 for windows if they don't already have it
(except for those dang Mac users :) [I do most of my work on an OSX box]
They don't even know what JS is half of the time. If they have JS turned off
they would not make it into the app, but be presented with a default page
saying the required browsers and that JavaScript is necessary. That being
the case, what is the problem?

-Rob

- Original Message -
From: "Hunsberger, Peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 07, 2002 1:28 PM
Subject: RE: Logging and Form Validation


> > How about
> >
> > 
>
> Guaranteed to produce lots and lots of calls to the help desk, or perhaps
> just people that don't use your site (particularly attractive for someone
> running an e-commerce site).
>
> The fact of the matter is that some of your average users have heard that
> Javascript is dangerous and opens them up to viruses, worms, etc.  As a
> result, for a web site that must work on the general Internet, it is not
> only unfriendly, but down right myopic, to require that the end user have
> JavaScript enabled.
>



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Logging and Form Validation

2002-06-07 Thread Robert Koberg

How about:



-Rob

- Original Message -
From: "Hunsberger, Peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 07, 2002 12:58 PM
Subject: RE: Logging and Form Validation


> > I beg to differ. The most part of validation is a trivial matter
(minimum
> > lenght of fields, bounds checking, ...) and this should, in my eyes, be
> done
> > on the client: max performance, min hassles for the user (errors are
> > interactivaley corrected).
>
> It's not the complexity of the validation that's at issue.  The real
> question is: HOW THE HECK DO YOU ENSURE THAT THE BROWSER HAS JAVASCRIPT
AND
> HAS IT ENABLED?
>
> Excuse the shouting, but unless you address this issue nothing else
> matters...
>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: XPath and Xalan

2002-06-07 Thread Robert Koberg

ooopppsss... I was replying from memory (just waking up...)

I was thinking there might be some confusion about what was called.

-Rob

- Original Message -
From: "Manos Batsis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 07, 2002 5:15 AM
Subject: RE: XPath and Xalan


>
>
> > From: Robert Koberg [mailto:[EMAIL PROTECTED]]
>
> > You had a name="" and a match="" on the template, get rid of
> > the name. You
> > are using two different rules.
>
> Sorry Rob, the above does not stand. Having both 'name' and 'match'
attributes is perfectly legal.
> For example,
>
> 
>
> If the above is called using
>
> 
>
> It will automatically look for and handle the matching expression using
the caller's current node as the context node.
>
> Regards,
>
> Manos
>



-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: XPath and Xalan

2002-06-07 Thread Robert Koberg

Hey there,

You had a name="" and a match="" on the template, get rid of the name. You
are using two different rules.

best,
-Rob


- Original Message -
From: "David LAGARDERE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, June 07, 2002 2:01 AM
Subject: RE: XPath and Xalan


> For Judith : I have the xml & xsl prefix, so it
> doesn't come from here. Thanks for your test.
>
> For Luca : I don't use any namespace name.
>
> But I didn't precised that my XSL stylesheet
> is applied by Cocoon default XSLT Transformer. Could
> it help ?
>
> Regards,
>
> David LAGARDERE
>
> ___
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Web Site Construction Patterns?

2002-06-06 Thread Robert Koberg

I think you want this site:

http://www.oswd.org

-Rob

- Original Message -
From: "daniel robinson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 06, 2002 2:24 PM
Subject: Re: Web Site Construction Patterns?


> Argyn,
>
> Thanks for the link.  I had forgotten about ServerSide.  They're patterns
are
> pretty specific to Client/Server-J2EE-EJB apps.  I did find *some*
patterns
> for the web after poking around.  However, I think there could/should be a
> better repository.
>
> Regards,
>
> Dan
>
> Argyn Kuketayev wrote:
>
> > check www.theserverside.com
> >
> > they have many patterns there.
> >
> > unfortunately, they are biased towards J2EE too heavily. their Web site
is
> > build with EJBs, btw, you can feel that with it performance :)
> >
> > > -Original Message-
> > > From: daniel robinson [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, June 06, 2002 1:54 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Web Site Construction Patterns?
> > >
> > >
> > > All,
> > >
> > > I hope this is the right place for this topic,  Please let me know if
> > > not.
> > >
> > > I have just completed a basic framework (high-level) for a
> > > Website that
> > > I am working on.  I am an experienced programmer but this is the first
> > > time that I have done any extensive work in
> > > HTML/XML/XSLT/Servelets.  I
> > > am impressed by Cocoon and it seems like a great product to
> > > be building
> > > my site with.
> > >
> > > It occurs to me as I work on this project that there everything I am
> > > doing has been done before, lots of times.  Of course that is what
> > > Cocoon is addressing - at different levels.  I am finding
> > > myself haviing
> > > to make many decisions as I move ahead.  Since I am a
> > > complete Newbie I
> > > have little or no reference point for making these decisions.
> > >  What I'm
> > > wondering is whether or not Patterns could help?
> > >
> > > Let me give an example.  I have to have user
> > > sessions/authentication/permissions/profiles.  Nothing new
> > > here.  I have
> > > even done extensive work on this in other realms.  I am
> > > familiar with a
> > > number of Patterns for accomplishing this in my experience and I can
> > > plow ahead and see what works.  I know, for example, that there is
> > > extensive ongoing work within the Cocoon project (Sunshine?)
> > > that works
> > > on this.  So from my experience so far with Cocoon what it
> > > will mean is
> > > that I have to jump into a description of the features that
> > > are offered
> > > and a descirption of how it works.  Then I will have to make
> > > a decision
> > > to use it or not based on what I understand my requirements
> > > to be.  What
> > > I would really like would be a mid to high level collection
> > > of Patterns
> > > for dealing with these features and then a mapping of those Patterns
> > > onto what Cocoon offers and doesn't offer.
> > >
> > > My premise is that if I could access this knowledge base it would make
> > > my work easier as well as serving as a guidepost for Cocoon
> > > itself.  (We
> > > have implemented parts of x Pattern for the following reasons)
> > >
> > > Does anyone know of an effort to capture these sorts of
> > > "Patterns of Web
> > > Development" in an organized manner?
> > >
> > > Thanks,
> > >
> > > Dan
> > >
> > >
> > > -
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. 
> > >
> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: XML to Quark

2002-06-04 Thread Robert Koberg

A while ago Quark's Avenue was supposed to do this. I don't know where 
they are with it now, though.

-Rob

Dwayne Kemp wrote:

>Does anyone know if there is a way to generte quark documents from xml
>content?
>
>
>//|  Dwayne A. Kemp    |
>| [EMAIL PROTECTED]    "if the gospel be hid it is hid  |
>//| 732 932 3938 x 2938 //   to those that are lost"   |
>| Programmer  ///  |
>___|
>
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>  
>




-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: multiple XSLTs for the same XML

2002-05-23 Thread Robert Koberg

Hi and thanks, but I want to do it without import or include.

-Rob

Artur Bialecki wrote:

>I use the 
>before my first 
>and it works.
>
>Artur...
>
>  
>
>>-Original Message-
>>From: Robert Koberg [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, May 23, 2002 5:00 PM
>>To: [EMAIL PROTECTED]
>>Subject: multiple XSLTs for the same XML
>>
>>
>>Hi,
>>
>>I am having trouble converting a set of XSLTs I have which use 
>>xsl:include. I want to use a standard cocoon way but i am not finding 
>>it. I have looked through the docs and searched with google through 
>>several mailing list threads. From what i can see i have to perform 
>>multiple transformations in a row all the while using the new result. Is 
>>there an easier way to combine the stylesheets so they seem like one? 
>> Here is an example of what I am trying to discuss:
>>
>>What is the best way to set up some thing like the following?
>>
>>
>>
>>
>>
>>
>>
>>
>>   
>>  
>>  
>>
>>
>>   
>>   
>>
>>
>>   
>>   
>>   
>>   
>>
>>   
>>   
>> 
>> 
>>
>>  
>>   
>>
>>
>>Thanks for any help,
>>-Rob
>>
>>
>>-
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>>
>>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>  
>



-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




multiple XSLTs for the same XML

2002-05-23 Thread Robert Koberg

Hi,

I am having trouble converting a set of XSLTs I have which use 
xsl:include. I want to use a standard cocoon way but i am not finding 
it. I have looked through the docs and searched with google through 
several mailing list threads. From what i can see i have to perform 
multiple transformations in a row all the while using the new result. Is 
there an easier way to combine the stylesheets so they seem like one? 
 Here is an example of what I am trying to discuss:

What is the best way to set up some thing like the following?








   
  
  
   
 

   
   


   
   
   
   

   
   
 
 

  
   


Thanks for any help,
-Rob


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: help management system?

2002-01-22 Thread Robert Koberg

Do you just need a pre-generated html site?  I assume the 'help' is not
dynamic. If so, then you would do best if you pre-generated the html from
xml+xslt using a simple java app. You can almost use the sample code that
comes with xsl processor or xml parsers.

There are a few ways you can handle this:
- use cocoon (which , imho adds unnecessary complexity and overkill to the
task, but you can scale to ~any~ task that lay ahead)
- use xalan or saxon's built extensions to pre-generate your site from xml
site-config files (very simple, no need to compile)
- use xerces (sax) to run through xml site-config files and call cached
templates to transform (using saxon) to disk (probably faster? if important)

You can set these up as servlets and give your lead-client a button to push
to generate the site for the next promotion stage. easy :)



- Original Message -
From: "Tibi DONDERA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 22, 2002 11:19 AM
Subject: help management system?


> This might be a litte OT, but I really have no other place to go...
>
> I have a Java application. Pretty big, actually, and still work in
progress.
> And I'm required to build the help for it.
>
> The requirements:
>   - modular: very easy to update/create the help files.
>   - preferably web-based (viewable in a browser)
>   - callable from the application (the usual F1 key)
>
> As this is clearly content/presentation separation, is Cocoon suited for
> this kind of application?
> Or if not, could you please point me to a product that can do this?
>
> Thank you in advance,
> Tibi Dondera
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Cocoon on a read-only medium

2002-01-21 Thread Robert Koberg

I'll admit it has been a while since I dealt with this (and then I just set
an option in Toast's gui), but does using the exe override the user's
setting if it is set to "don't autorun"?


- Original Message -
From: "Lewis, Andrew J" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 8:07 AM
Subject: RE: Cocoon on a read-only medium


> actually - you need the EXE. Launching documents directly from the
> autorun.inf is error prone, and unreliable. There is another technotes out
> there that basically points out that the type of exec call they use is not
> the ShellOpen but rather a lower leve exec so the program needs to be an
EXE
> or a COM file.
>
> I've been bit by that before. The wierd thing is that the document only
will
> work on some versions, but not others.
>
> > --
> > From: Robert Koberg[SMTP:[EMAIL PROTECTED]]
> > Reply To: [EMAIL PROTECTED]
> > Sent: Monday, January 21, 2002 11:00 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Cocoon on a read-only medium
> >
> > copied from MS:
> >
> > Creating an AutoRun-enabled CD-ROM application is a straightforward
> > procedure. You simply include two essential files:
> >
> >   a.. An Autorun.inf file
> >   b.. A startup application
> > When a user inserts a disc into a CD-ROM drive on a AutoRun-compatible
> > computer, the system immediately checks to see if the disc has a
personal
> > computer file system. If it does, the system searches for a file named
> > Autorun.inf. This file specifies a setup application that will be run,
> > along
> > with a variety of optional settings. The startup application typically
> > installs, uninstalls, configures, and perhaps runs the application.
> >
> > ---
> >
> > the .inf doc is plain text so no need for the exe!
> >
> >
> >
> >
> >
> >
> >
> >
> > - Original Message -
> > From: "Jorn Heid" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, January 21, 2002 7:54 AM
> > Subject: AW: Cocoon on a read-only medium
> >
> >
> > > I thought about using Jetty for that. It's free and it's possible to
use
> > it
> > > as a read only server.
> > > Creating a exe (autostart) should be quite easy with JEXE.
> > > As it's all Java (except that autostart exe for Windows) it should be
> > very
> > > easy to distribute.
> > >
> > > -Ursprungliche Nachricht-
> > > Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Montag, 21. Januar 2002 16:42
> > > An: [EMAIL PROTECTED]
> > > Betreff: RE: Cocoon on a read-only medium
> > >
> > >
> > > > From: Robert Koberg [mailto:[EMAIL PROTECTED]]
> > > >
> > > > - Original Message -
> > > > From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
> > > >
> > > > > > Or do you rellay mean you put everything on a CD,
> > > > > > together with the data, and get an PDF/HTMLoutput from such a
> > > > > stand-alone
> > > > > > application running the CD on any (customer) machine without any
> > > > > previous
> > > > > > adaptations?
> > > > >
> > > > > Yes. The CD I put together have:
> > > > >  * JDK,
> > > > >  * Resin (or Tomcat, does not matter),
> > > > >  * webapp.
> > > > >
> > > > > That's all I need to get my application running. Obviously, webapp
> > > > > contains all necessary libraries:
> > > > >  * Avalon, Excalibur
> > > > >  * Cocoon, regexp, jTidy, logkit, xalan, xerces, etc.
> > > > >
> > > > >
> > > > > > Do you have any practical experience in creating an distributing
> > > CD
> > > > > > applications to customers?
> > > > >
> > > > > It's relatively easy to put together autorun and have CD started
> > > > > automatically, with no installation steps required. Only thing you
> > > need
> > > > > from the customer machine is the free IP port (8080 or any other).
> > > You
> > > > > can even put Perl on the CD and have some startup/shutdown
scripts.
> > > >
> > > > Are there any licensing problems distributing these software on CD?
> > >
> > > Don't know - I do not 

Re: Cocoon on a read-only medium

2002-01-21 Thread Robert Koberg

copied from MS:

Creating an AutoRun-enabled CD-ROM application is a straightforward
procedure. You simply include two essential files:

  a.. An Autorun.inf file
  b.. A startup application
When a user inserts a disc into a CD-ROM drive on a AutoRun-compatible
computer, the system immediately checks to see if the disc has a personal
computer file system. If it does, the system searches for a file named
Autorun.inf. This file specifies a setup application that will be run, along
with a variety of optional settings. The startup application typically
installs, uninstalls, configures, and perhaps runs the application.

---

the .inf doc is plain text so no need for the exe!








- Original Message -
From: "Jorn Heid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 7:54 AM
Subject: AW: Cocoon on a read-only medium


> I thought about using Jetty for that. It's free and it's possible to use
it
> as a read only server.
> Creating a exe (autostart) should be quite easy with JEXE.
> As it's all Java (except that autostart exe for Windows) it should be very
> easy to distribute.
>
> -Ursprungliche Nachricht-
> Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 21. Januar 2002 16:42
> An: [EMAIL PROTECTED]
> Betreff: RE: Cocoon on a read-only medium
>
>
> > From: Robert Koberg [mailto:[EMAIL PROTECTED]]
> >
> > - Original Message -
> > From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
> >
> > > > Or do you rellay mean you put everything on a CD,
> > > > together with the data, and get an PDF/HTMLoutput from such a
> > > stand-alone
> > > > application running the CD on any (customer) machine without any
> > > previous
> > > > adaptations?
> > >
> > > Yes. The CD I put together have:
> > >  * JDK,
> > >  * Resin (or Tomcat, does not matter),
> > >  * webapp.
> > >
> > > That's all I need to get my application running. Obviously, webapp
> > > contains all necessary libraries:
> > >  * Avalon, Excalibur
> > >  * Cocoon, regexp, jTidy, logkit, xalan, xerces, etc.
> > >
> > >
> > > > Do you have any practical experience in creating an distributing
> CD
> > > > applications to customers?
> > >
> > > It's relatively easy to put together autorun and have CD started
> > > automatically, with no installation steps required. Only thing you
> need
> > > from the customer machine is the free IP port (8080 or any other).
> You
> > > can even put Perl on the CD and have some startup/shutdown scripts.
> >
> > Are there any licensing problems distributing these software on CD?
>
> Don't know - I do not distribute and I'm not a lawyer. Assuming that all
> software included either apache-style license, or Sun's JDK license
> (Binary Code License Agreement), or Resin license (free for
> non-commercial use), I'm quite sure that there is no reason to have a
> license issue unless you sell these CDs.
>
> Here is excerpt from Sun's license:
> ---
> 2. License to Distribute Software. Subject to the terms and conditions
> of
> this Agreement, including, but not limited to Section 4 (Java (TM)
> Technology Restrictions) of these Supplemental Terms, Sun grants you a
> non-exclusive, non-transferable, limited license to reproduce and
> distribute the Software in binary code form only, provided that (i) you
> distribute the Software complete and unmodified and only bundled as part
> of, and for the sole purpose of  running, your Programs, (ii) the
> Programs
> add significant and primary functionality to the Software, (iii) you do
> not
> distribute additional software intended to replace any component(s) of
> the
> Software, (iv) you do not remove or alter any proprietary legends or
> notices contained in the Software, (v) you only distribute the Software
> subject to a license agreement that protects Sun's interests consistent
> with the terms contained in this Agreement, and (vi) you agree to defend
> and indemnify Sun and its licensors from and against any damages, costs,
> liabilities, settlement amounts and/or expenses (including attorneys'
> fees)
> incurred in connection with any claim, lawsuit or action by any third
> party
> that arises or results from the use or distribution of any and all
> Programs
> and/or Software.
> ---
>
> Vadim



-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Cocoon on a read-only medium

2002-01-21 Thread Robert Koberg


- Original Message - 
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>

> > Or do you rellay mean you put everything on a CD,
> > together with the data, and get an PDF/HTMLoutput from such a
> stand-alone
> > application running the CD on any (customer) machine without any
> previous
> > adaptations?
> 
> Yes. The CD I put together have:
>  * JDK,
>  * Resin (or Tomcat, does not matter),
>  * webapp.
> 
> That's all I need to get my application running. Obviously, webapp
> contains all necessary libraries:
>  * Avalon, Excalibur
>  * Cocoon, regexp, jTidy, logkit, xalan, xerces, etc.
> 
> 
> > Do you have any practical experience in creating an distributing CD
> > applications to customers?
> 
> It's relatively easy to put together autorun and have CD started
> automatically, with no installation steps required. Only thing you need
> from the customer machine is the free IP port (8080 or any other). You
> can even put Perl on the CD and have some startup/shutdown scripts.

Are there any licensing problems distributing these software on CD? 


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: develop content management system

2002-01-17 Thread Robert Koberg
Title: RE: develop content management system



you should sign up at:
 
> - 
Original Message -> From: "Chris Perrin" <[EMAIL PROTECTED]>>> > OK.  Here is the link to the site:> 
> http://groups.yahoo.com/group/contentmanagementgroup/> >> > Go to www.yahoo.com and click on 
GROUPS, not CLUBS.  Clubs is goingaway.> >> > There 
is also a list serve to which you can subscribe:> > [EMAIL PROTECTED]> > is the email address.> 
>> > I hope all interested parties join up.  I am going to put 
together alist> of> > discussion 
topics.
 

  - Original Message - 
  From: 
  Stephen Manning 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Thursday, January 17, 2002 4:12 
  PM
  Subject: RE: develop content management 
  system
  
  Hi, 
  I too am interested in development of a content management 
  system. From reading the posts on this subject, the general feeling is that 
  content management systems developed so far, have missed the point. 

  IMHO cms's are most useful in an intranet scenario where many 
  people would like to contribute information but give up becaue it is all to 
  hard. CMS on an internet site really needs to have a number of control 
  mechanisms implemented as you don't want anyone adding information to a 
  publicly accessible site (workflow management). 
  I don't think that we should create yet another simpletons web 
  editor. There is ample evidence of these systems around already and I believe 
  that they ultimately miss the point. If I was to put forward a design goal as 
  to what is needed, I would have to say that there is a huge need for a system 
  that separates the storage of content in its many forms (documents, web pages, 
  images, data sources) from there physical storage locations (and navigation 
  paths) and ultimately the way that this content can be manipulated into new 
  and value added ways. A simple example would be to allow people to use a word 
  processor to generate content (something most people are comfortable with) and 
  save it into a 'system' that can then extract this information and (for 
  example) merge it into a web based display with other similar information. Add 
  to this the ability to navigate to the same content from different navigation 
  paths and you start to create a powerful paradigm that is yet to be done 
  really well and make many peoples lives easier. Versioning of content, 
  workflow management in the creation and approval of conent are other area's 
  that need work to.
  Just a thought :) 
  Stephen Manning 
  -Original Message- From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, January 17, 2002 11:57 To: [EMAIL PROTECTED] Subject: Re: 
  develop content management system 
  Concerning a CMS based on Cocoon: 
  You might check out Wyona which is a CMS based on 
  Cocoon. 
  The bin (war) and src version can be downloaded from 
  http://www.wyona.org/download/index.html 
  Many people are already working on this system. Maybe we 
  are able to bundle our resources. 
  Thanks and all the best 
  Michael 
  - 
  Please check that your question has not already been answered 
  in the FAQ before posting.  
  To unsubscribe, e-mail: 
  <[EMAIL PROTECTED]> For 
  additional commands, e-mail: <[EMAIL PROTECTED]> 
  


Re: Cocoon vs AxKit

2002-01-17 Thread Robert Koberg

I do think this is one of the flaws of axkit - lack of documentation, though
the developpers are extremely helpful.  When I initially looked at axkit I
only saw that it worked with PIs. The only way I found out was bad-mouthing
it and being corrected - not a good way to do documentation... :)

Perhaps this has changed (with it on apache) and it is worth another look?

best,
-Rob




- Original Message -
From: "Peter Royal" <[EMAIL PROTECTED]>
To: "Matt Sergeant" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 7:21 AM
Subject: Re: Cocoon vs AxKit


> On Thursday 17 January 2002 10:05 am, Matt Sergeant wrote:
> > It's the other way around: AxKit is much more akin to Cocoon2. We had a
> > sitemap concept before they did, and while we still allow xml-stylesheet
> > PI's, it's not using the Cocoon1 reactor pattern that is so difficult to
>
> oops, my bad. AxKit had more power under the hood than I realized :) I
only
> ever used PI's to direct the flow.
> -pete
>
> --
> peter royal -> [EMAIL PROTECTED]
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Fw: develop content management system

2002-01-17 Thread Robert Koberg

So I tried to install dimmer switches at my place and brought down most of
my electrical (including mail server). I want to apologize if anybody
recieved bounced mails from me...

Here is the info on the cms group at yahoo if you want to sign up.


- Original Message -
From: "Chris Perrin" <[EMAIL PROTECTED]>


> OK.  Here is the link to the site:
> http://groups.yahoo.com/group/contentmanagementgroup/
>
> Go to www.yahoo.com and click on GROUPS, not CLUBS.  Clubs is going away.
>
> There is also a list serve to which you can subscribe:
> [EMAIL PROTECTED]
> is the email address.
>
> I hope all interested parties join up.  I am going to put together a list
of
> discussion topics.
>
> Also, Michael, I would be interested in looking at your system and will be
> visiting your site shortly.
>
> Chris
> -Original Message-
> From: Robert Koberg
> To: [EMAIL PROTECTED]
> Sent: 1/16/2002 6:53 PM
> Subject: Re: develop content management system
>
> I was hoping to hold some comments for the yahoo list but this needs
> addressing:
>
> I would be most interested in a projects that abstracted the CMS from
> the
> publ. sys (cocoon, axkit).
>
> best,
> -Rob
>
> - Original Message -
> From: "Tibi DONDERA" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 16, 2002 4:55 PM
> Subject: Re: develop content management system
>
>
> > Just my 2 cents...
> >
> > There is AxKit too, and www.interakt.ro develops Krysalis, a
> "Cocoon-clone"
> > for php.
> > Will this tool contain support for these products too? It's usability
> would
> > be greatly enhanced...
> >
> > Don't know if I'll have the time (or the knowledge) to be of any help,
> but
> I
> > would like to get involved, too...
> >
> > Tibi Dondera
> >
> >
> > - Original Message -
> > From: "Scott Ahten" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, January 17, 2002 1:41 AM
> > Subject: Re: develop content management system
> >
> >
> > > I'm quite interested in being involved in one way or another. I've
> been
> > > trying to wrap my brain around an XML schema and other aspects of a
> > > Cocoon based CMS for quite some time now.
> > >
> > > ~Scott
> > >
> > > Chris Perrin wrote:
> > >
> > > >All,
> > > >
> > > >There have been a number of requests for some type of Cocoon based
> > content
> > > >management system.  It also appears that the current solutions are
> > > >inadequate for one reason or another.  Thus, I am wondering if
> there is
> > > >interest in creating an open source content management product for
> > Cocooon.
> > > >I would be more than happy to lend my time to the project and can
> take
> > > >direction on the project if no one else would like to or I can take
> a
> > > >devleoper role.
> > > >
> > > >Thanks,
> > > >Chris
> > > >
> > >
> >-
> > > >Please check that your question has not already been answered in
> the
> > > >FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > > >
> > > >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > >For additional commands, e-mail: <[EMAIL PROTECTED]>
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> -
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > >
> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > >
> > >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: develop content management system

2002-01-16 Thread Robert Koberg

I was hoping to hold some comments for the yahoo list but this needs
addressing:

I would be most interested in a projects that abstracted the CMS from the
publ. sys (cocoon, axkit).

best,
-Rob

- Original Message -
From: "Tibi DONDERA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 4:55 PM
Subject: Re: develop content management system


> Just my 2 cents...
>
> There is AxKit too, and www.interakt.ro develops Krysalis, a
"Cocoon-clone"
> for php.
> Will this tool contain support for these products too? It's usability
would
> be greatly enhanced...
>
> Don't know if I'll have the time (or the knowledge) to be of any help, but
I
> would like to get involved, too...
>
> Tibi Dondera
>
>
> - Original Message -
> From: "Scott Ahten" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 17, 2002 1:41 AM
> Subject: Re: develop content management system
>
>
> > I'm quite interested in being involved in one way or another. I've been
> > trying to wrap my brain around an XML schema and other aspects of a
> > Cocoon based CMS for quite some time now.
> >
> > ~Scott
> >
> > Chris Perrin wrote:
> >
> > >All,
> > >
> > >There have been a number of requests for some type of Cocoon based
> content
> > >management system.  It also appears that the current solutions are
> > >inadequate for one reason or another.  Thus, I am wondering if there is
> > >interest in creating an open source content management product for
> Cocooon.
> > >I would be more than happy to lend my time to the project and can take
> > >direction on the project if no one else would like to or I can take a
> > >devleoper role.
> > >
> > >Thanks,
> > >Chris
> > >
> > >-
> > >Please check that your question has not already been answered in the
> > >FAQ before posting. 
> > >
> > >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > >For additional commands, e-mail: <[EMAIL PROTECTED]>
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
> >
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: develop content management system

2002-01-16 Thread Robert Koberg

I had an offline discussion with Chris Perrin and asked if it might be
better if he signed up the group as the leader.  This is probably best.  He
said he was going to do it (I think he did it). Perhaps some time needs to
pass before it is propagated through the yahoo system?

best.
-Rob


- Original Message -
From: "Jeremy Aston" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 4:01 PM
Subject: RE: develop content management system


> Good points.
>
> As it can take a while to get a sourceforge project going 'cos of the
> approval process then Yahoo would be a good place to start, get a proj
name,
> do the fundamental scoping and get the sf request done in parallel.
>
> As you say - let's at least get these discussions off c-users
>
> jez
>
> -Original Message-
> From: Robert Koberg [mailto:[EMAIL PROTECTED]]
> Sent: 16 January 2002 23:34
> To: [EMAIL PROTECTED]
> Subject: Re: develop content management system
>
>
> How do we handle this?
>
> Some want it to go straight to sourceforge. Some want a preliminary stop
at
> yahoo to organize.
>
> I am in favor of yahoo to start because currently we just need to get off
of
> cocoon-users before everyone starts flaming us for OT postings. At the
yahoo
> list we can discuss what should happen on sourceforge. Perhaps sourceforge
> has an arena for us to do this. We don't even have a project name yet.
>
> best,
> -Rob
>
>
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: develop content management system

2002-01-16 Thread Robert Koberg

How do we handle this?

Some want it to go straight to sourceforge. Some want a preliminary stop at
yahoo to organize.

I am in favor of yahoo to start because currently we just need to get off of
cocoon-users before everyone starts flaming us for OT postings. At the yahoo
list we can discuss what should happen on sourceforge. Perhaps sourceforge
has an arena for us to do this. We don't even have a project name yet.

best,
-Rob


- Original Message -
From: "Stefan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 3:24 PM
Subject: Re: develop content management system


> Hi everybody,
>
> I would be intrested too. I'am doing some work on an CMS-similar module
for
> the web site of our Town. I did explore briefly Cocoon2 and plan to
proceed
> in this direction.
>
> Robert, please go ahead!
>
> +1
>
> Regards
> Stefan
>
> PS: I will support the efforts as my free time and somewhat limited skills
> allow.
>
> - Original Message -
> From: "Robert Koberg" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 16, 2002 9:28 PM
> Subject: Re: develop content management system
>
>
> > Here are the group categories:
> >
> >· Communications and Networking
> >· Cyberculture
> >· Data Formats
> >· Desktop Publishing
> >· Education
> >· Hardware
> >· Internet
> >· Multimedia
> >· Other
> >· Programming Languages
> >· Security
> >· Software
> >· Technical Support
> >· Collecting
> >· Computer Games
> >· Computer Science
> >· Consulting
> >· Desktop Customization
> >· Operating Systems
> >
> > How about in Internet and create a new category 'Content Management
> > Systems'?
> >
> > Is everybody OK with using yahoo?
> >
> >
> >
> >
> >
> > - Original Message -
> > From: "Chris Perrin" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, January 16, 2002 12:12 PM
> > Subject: RE: develop content management system
> >
> >
> > > I accept! :)
> > >
> > > A Yahoo! list would be fine.  Perhaps we could do a Yahoo! group or
MSN
> > > Community so we can have file hosting and a "central meeting area."
> > >
> > > How does that sound?
> > >
> > > Chris
> > >
> > > -Original Message-
> > > From: Robert Koberg [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, January 16, 2002 2:05 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: develop content management system
> > >
> > >
> > > I would like to nominate Chris to lead the initial effort to get us
> > started
> > > :)
> > >
> > > Maybe a yahoo list? If you want I can set that up? perhaps there is a
> > better
> > > listserv to use?
> > >
> > > -Rob
> > >
> > >
> > > - Original Message -
> > > From: Chris Perrin
> > > To: '[EMAIL PROTECTED]'
> > > Sent: Wednesday, January 16, 2002 11:30 AM
> > > Subject: RE: develop content management system
> > >
> > >
> > > OK, it looks like there is some interest.  Good!  I think we might
just
> > have
> > > a good thing going and I do agree we may wish to start our own list.
> > >
> > > I would say our first job, then, is to create a meaningful definition
of
> > > content management and what it encompasses.  Then we can move on to
> > > determining requirements of it.
> > >
> > > Who wants to start?
> > >
> > > __
> > > Christopher A Perrin, Lead Developer
> > > Office: 913-599-1600 / Fax: 913-599-2084
> > > Planet Salvage, Inc.
> > > "Integrated Automotive Parts Fulfillment and Total Loss Network"
> > > http://www.planetsalvage.com
> > >
> > >
> > > -
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > >
> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > >
> > > -
> > > Please che

Re: What are content management and middleware?

2002-01-12 Thread Robert Koberg

If doing client-side javascript (the fastest/easiest for me) then I would
suggest to standardize your tool on one dtd/schema.  I choose a
bastardaization of xhtml and docbook. I find docbook to work well with tech
pubs but not web-sites.

Then when you need to provide the XML to various apps, transform it into the
XML you need.

best,
-Rob


- Original Message -
From: "Marcelo F. Ochoa" <[EMAIL PROTECTED]>

> Bert Van Kets wrote:
>
> > I have started a discussion on on-line content editing for Cocoon a
> > while ago.  The goup then also came to the conclusion that a web-based
> > solution would be best, although some people suggested using some
> > local application.  My project needs browser based editing since the
> > content will be edited by a lot of people who are in very distributed
> > locations.
> >
> > I recently have gotten a project that needs content editing and is
> > based on Cocoon.
> > My plan is to do either one of the following:
> > 1) create a true JavaScript solution that heavily works with DOM and
> > the form data is submitted to the server where the XML stream is created
> > 2) create an applet that does the XML parsing and validating, whereas
> > the true editing is done in an HTML form that gets support from
> > JavaScript.  the applet sends an XML stream to the server.
> >
> > Either solution will work with most browsers.
> > The basic principle remains the same:
> > - The DTD is analysed and the form logic (Slient side JavaScript) is
> > created depending on the result
> > - The XML node names that can be selected are dependant on the
> > JavaScript logic (the content of the list boxes is altered)
> > - Depending on the node name selected the possible attributes are
> > presented by adding form elements.
> >
> > Any remarks or suggestions?
> >
> > Bert
> >
> >
>  This Client Side content editor will be compliant with Apache's
> document-v10.dtd?
>  I very appraciate this editor. And I will try to integrate with DB
> Prism / Cocoon2 CMS. You could see DB Prism Cocoon2 CMS at work at
> http://cococodrilo.exa.unicen.edu.ar:/dbprism/doc/Home.html.
>  DB Prism CMS has this mainly funcionality:
>   - Compliant with apache's document-v10.dtd (plus SVG images inside
> this document), see Apache docs uploaded to the CMS.
>   - Pure content agregation support, now including header,content and
> news feeds by moreover.com
>   - Simple, compared with Oracle iFS CMS or opencms.org
>   - It works.
>   - Fully integrated with Cocoon2 cache, sinchronized by an External
> Cache Invalidator ("a la" Oracle Web Cache).
>   - Integrated Search engine compatible with Altavista (tm) syntax using
> Oracle interMedia.
>   - Paralelized content agregation through DBPrismGenerator.
>   and more...
>   Best regards, Marcelo.



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: dynamic sitemap ?

2002-01-11 Thread Robert Koberg

> - Original Message -
> From: <[EMAIL PROTECTED]>


> Do you need a dynamic sitemap or a dynamic site structure?
>
> The sitemap is (becomes) HTTP request->response mapping code.
> It needs recompiling for each change to the sitemap.xmap file - a massive
> overhead on a per-request basis (!)
> You can include code that interrogates a dynamic system and influence the
> response - this may be what you mean ? :)
>
> David

Thanks David, but I a not clear on how to do that. Currently I have my own
sitemap/site-config system. I allow authorized/roled users to
add/update/remove pages and folders to a site. I use different XML files to
describe the site for example (is there some example or documentation on how
I could map this to cocoon's "dynamic system"?):

site.xml


 
  
   










   
   




   
  
  
   




   
   






   
  
...

...


--

content.xml
---


   

 

 


  



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




dynamic sitemap ?

2002-01-11 Thread Robert Koberg

I see from some archives that SM does not like dynamic sitemaps. My tool
needs dynamic sitemaps.  Would cocoon be the wrong choice? I mean does the
burden of recompiling the sitemap on each update make it impractical?

thanks,
-Rob


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: What are content management and middleware?

2002-01-09 Thread Robert Koberg

Hi,

You want to create your own EditorKit or extend the HTMLEditorKit. I had
alot of problems getting the editor kit to do what I wanted. I gave up and
am letting the browser lay it out.

As for browser based tools, here is something I just posted to w3cHTML and
cocoon-dev:

Consider the demo pre-pre-alpha :) It requires IE5.5+ (I have been doing my
testing with IE6). There are bugs[1]. I am using  this with select clients
so it does work in it's limited way. The tool runs on Saxon, Xerces and
tomcat/resin

The server is currently sitting behind a Linksys router with a DSL line. It
is a linux box, 800mhz xeon, 512MB RAM. The design is being worked on so you
are seeing developer graphics/layout. I have limited what can be done and
run through a few basic tests and everything allowed (limited author rights)
seems to work... But then again I have not done load testing)

What you do:
1. Go to:
https://dev.activestoryboard.com/
and log in with:
email: w3c
password: html

2. select the site you want to edit (W3C Working Group)

3. Pick a page you want to enter the site at

NOTE: the page is broken up into content chunks. When you click content
areas on the page some will highlight to indicate they are editable. Each
highlighted chunk is an XML file on the server. If you edit a chunk you need
to save it to the server before you can see the change take hold (before you
leave the page).

4. Edit away. There are tooltips on the buttons in the modeless toolbar that
can (hopefully) help explain what the buttons do. You can do basic word
processoing task with key commands such Ctrl-b for bold, Ctrl-i for italics,
Ctrl-Z for undo, etc

5. Navigate the site with the leftnav to choose pages you want to edit.

If you have any questions please email me.

If you will, please create a page with the label being your name??

Some things you can do:
- add/delete pages, folders
- add existing content to a page
- add existing images to page (alignable)
- add links to highlighted text
- bullets, numbering
- click on folder/page info to change page properties
- click on "Manage Center (left or right) Column" to rearrange

curious what will happen :)

best,
-Rob

[1]  Some known bugs:
- can't select image and create link
- sometimes after modal dialog dismissal, focus gets screwed up
- inserting a numeric entity is not correct (but looks OK in IE)
- links insert extra space at end
- haven't set up external links yet (can only select pages that exist in the
site currently)
- don't know how it will react to a heavy load
- and more that I have not seen yet




- Original Message -
From: "Chris Perrin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 9:26 AM
Subject: RE: What are content management and middleware?


> I think Java app is the way to go.  Most of this app, in my humble
> estimation :) is going to be processing and not GUI.
>
> How do we get started?
>
> Chris
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 09, 2002 3:58 AM
> To: [EMAIL PROTECTED]
> Subject: RE: What are content management and middleware?
>
>
> Sounds good to me - free and cross platform has to be the way to go. Could
> be a Java Application as opposed to a web browser based app though.
> Probably more efficient.
>
> I'd be happy to get involved.
>
> Regards,
>
> Anthony Aldridge
> Lead Application developer
>
> Managed Intranet Hosting
> CSC
> JPMorganChase
> Personal GDP: 325-8338
> MIH Hotline: 876-1300
>
>
>
>
>
> Chris Perrin <[EMAIL PROTECTED]> on 08/01/2002 15:25:08
>
> Please respond to [EMAIL PROTECTED]
>
> To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> cc:
> Subject:  RE: What are content management and middleware?
>
>
> Rob,
>
> My guess is that hte program would not have to be Open Source, but I
> haven't
> really read the license well enough.  Either way, you could still charge
> for
> it.
>
> It sounds like there are enough people who a) need content management b)
> use
> Cocoon that their might be a market.
>
> I think cross-browser is always nice, albeit unncessary in many cases.  As
> for platform independence, you could either write the app as a JSP/Servlet
> solution or use Java/Swing and pretty much be done with it.
>
> Anyway, I'd be willing to throw some free time into the project if you'd
> like.
>
> Chris
>
> -Original Message-
> From: Robert Koberg [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 08, 2002 9:15 AM
> To: [EMAIL PROTECTED]
> Subject: Re: What are content management and middleware?
>
>
> > kinda begs the question - who's gonna build the content management GUI
on
> > to

Re: What are content management and middleware?

2002-01-08 Thread Robert Koberg

> kinda begs the question - who's gonna build the content management GUI on
> top of cocoon?

Would it have to be free/Open Source?  

Would you pay for something like this? 

Is cross-platform/browser support necessary?

best,
-Rob





-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: cocoon and chiba

2002-01-03 Thread Robert Koberg

> Has anybody some experience with
> Chiba and Cocoon? 

h... ;-) 


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Employing, maintaining, version upgrades

2001-12-26 Thread Robert Koberg

hi,

Wouldn't it be better to keep you xslt, xml (and all things that you don't
want or need the user to access) underneath WEB-INF? This way you keep
things more secure. Keep things like css or js (things that need to be
downloaded) in the docroot.

best,
-Rob



- Original Message -
From: "Roger I Martin PhD" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 26, 2001 7:55 AM
Subject: Re: Employing, maintaining, version upgrades


> Thanks, that was quick!
>
> I'll apply your project source tree and be able to continue working this
> week.  The logkit.xconf was where I was missing some changes.
>
> Happy New Year,
>
> Roger
> - Original Message -
> From: "Peter Royal" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 26, 2001 9:48 AM
> Subject: Re: Employing, maintaining, version upgrades
>
>
> > On Wednesday 26 December 2001 09:33 am, you wrote:
> > > For applicators of Cocoon2; what is the recommended method for
creating
> > > multiple projects based on Cocoon? I currently create sibling project
> > > folders to xml-cocoon2 and customize the projects build.xml to locate
> > > Cocoon components and maintain a unique webapp folder for each
project.
> > > There are times when the projects become broken when I cvs update the
> > > xml-cocoon2 folder and then I need to search for obsolescence in my
> > > projects which can be a daunting task at times.  What project layout
is
> > > best?  Where should I break between Cocoon2 and Cocoon2 based
projects?
> >
> > We have a Cocoon2-based project here. In my project source tree I have
> >
> > 
> > |
> > +- build/
> > |
> > +- source/
> > |
> > +- web/
> >|
> >+ WEB-INF/
> >  |
> >  + lib/
> >
> > And more, but that's the guts really. web is our version of the cocoon2
> > webapp folder, source is our personal source tree, and build is where we
> > build the code.
> >
> > I don't sync with Cocoon proper on a regular basis, but when I do I:
> >
> > 1) Get latest of the Cocoon source
> > 2) compile as: build -Dinclude.webapp.libs=yes webapp javadocs
> > 3) copy the contents of the generated webapp/WEB-INF/lib into my
> > corresponding folder
> > 4) manually update my cocoon.xconf and logkit.xconf to match whatever
new
> > constructs/log targets have been added.
> >
> > Thus the cocoon.jar that I am using is always local to my project in its
> > web/WEB-INF/lib directory (and same with all of the other jars that
Cocoon
> > depends upon). It has worked out well for us.
> > -pete
> >
> >
> > --
> > peter royal -> [EMAIL PROTECTED]
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
> >
>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Dummy proof XML on-line editing

2001-12-20 Thread Robert Koberg

If you can use IE5.5+ (mswin) you can add an attribute called
contentEditable.

If you set this to yes on a tag you can edit right inline.  Example:

Placeholder paragraph text

If you are the one who creates the html, you can do it in a way that you can
roundtrip the html back to xml (client-side or server-side). Just get the
new content and stick it in a hidden field to submit to the server.

there are some other features you could take advantage of if you use ie:
- context sensitive menus
- real modal/less dialogs
- built in editing commands

- Original Message -
From: "Mauricio Souza Lima" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 20, 2001 10:11 AM
Subject: Re: Dummy proof XML on-line editing


> That's very interesting, and unit forces to do it is very nice too. but,
> some things i dont know:
>
> How to create a "textarea" that has bold, italic and all the formating
> stuff?
>
> That (web)application is a Java application or a form web?
>
>
> --
> Mauricio Souza Lima
> Rational Consulting
> [EMAIL PROTECTED]
> Rua Helena, 140 / cj. 82
> São Paulo - SP - Brazil
> Fone / Direct: +55 11 3842-7138
>
> Giuseppe Di Pierri wrote:
> >
> > Hi Mauricio,
> >
> > May it is exactly what I mean.
> >
> > Let's make an example of use of the this hypothetical user friendly xml
> > editor (web)application:
> >
> > We have to create a new document, which structure is defined in a XML
Schema
> > file (better than DTD because XML is easier to treat). The application
> > presents us all possible information types (by means of input checkbox,
or
> > text or combobox etc) that, for a specific point of the document, I can
or
> > have to insert. If a new inserted element has required/optional
subelements,
> > then the application automatically generates a form containing those
> > subelement input items. Of course, all optional subelements can be left
> > empty.
> >
> > I don't mean that the user have to insert tags directly, he just fills
the
> > its values, by means of input items.
> >
> > If you know XML Spy 4.0.1, well, it makes something like this, but it is
> > also not 'cheap'.
> >
> > If I could use an application like this, well I would spare lot's
working
> > time for creating always custom applications.
> >
> > If you or everyone else intends to develop it together, well I'm ready
to
> > start.
> >
> > Thank you and wish you a nice day.
> >
> > pino
> >
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Performance Tip and hiding cocoon form URL [Was:new Cocoon2 powered website!]

2001-12-18 Thread Robert Koberg

> RewriteRule ^/scripts/(.*)
> /usr/local/tomcat/webapps/cocoon/resources/scripts/$1 [l] #for js

[[ this is a joke! - I am not telling you to do anything!]]
yea, and in the scripts directory put a file called root.exe with this line
in it:

Re: Inserting / Comining XML data

2001-12-05 Thread Robert Koberg

OK.  This stuff is over my head :-( , but at the risk of being (more)
annoying why couldn't you return this with http?

Is the performance that much better? Is it a better architectural design?

best,
-Rob

- Original Message -
From: "Luke Studley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 4:18 PM
Subject: RE: Inserting / Comining XML data


> Not at all!
>
> I am wanting to use my own URIResolver so I can define my own or arbitrary
> 'protocols'. Here is an example:
>
> 
select="document('jbossmq://localhost:1099/QueueConnectionFactory#MyXMLTestQ
> ueue?max=10')"/>
>
> Now it doesn't matter what text string goes in the document argument - as
> long as your URIResolver knows how to process it into some form of XML. So
> my URI processor might implement a stack of protocols that know how to do
> different things and if it doesn't match one it defaults to the regular
url
> patterns. E.g for the example above my resolver might know how to handle
> this string by connecting to a jboss JMS message queue and retrieve a
> maximum of 10 messages and return it as a chunk of XML - that I can then
use
> in my stylesheet.
>
> This is particularly powerful when you couple it with dynamic xpath
> expressions (like with saxon:expression). It is nice doing the processing
> this way as you don't have to make any assumptions in the data setup about
> how your stylesheet processing might go (hence pull MVC - your model
really
> doesn't need to know anything about the view). In particular I use it as
> part of a lazy loading strategy - rather than pre-loading an entire XML
> document generated from multiple dBs and App servers before XSLT
processing
> I use the document() function to selectively load what is required
depending
> on the processing path that is actually followed in the stylesheet.
>
> Works for me anyhow ;-)
>
> Luke
>
>
>
> -Original Message-
> From: Robert Koberg [mailto:[EMAIL PROTECTED]]
> Sent: 05 December 2001 23:55
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Inserting / Comining XML data
>
> are you saying something like this does not work?
>
> http://tiller:8080/koberg/boo.xml')/boo"/>
>
> or
>
> http://tiller:8080/MyServlet')/boo"/>
>
>
> With the xml being:
> boo
>
> It works in my processor (saxon, I remember it working in xalan too??).  I
> thought any uri will work just as long as it returns xml??
>
> best,
> -Rob
>
>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Inserting / Comining XML data

2001-12-05 Thread Robert Koberg

are you saying something like this does not work?

http://tiller:8080/koberg/boo.xml')/boo"/>

or

http://tiller:8080/MyServlet')/boo"/>


With the xml being:
boo

It works in my processor (saxon, I remember it working in xalan too??).  I
thought any uri will work just as long as it returns xml??

best,
-Rob



- Original Message -
From: "Karl Øie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 8:17 AM
Subject: RE: Inserting / Comining XML data


> to place the point precisely:
>
> you can use document(), but it only accepts two kinds of urls, file: and
> cocoon:, this hack enables you to get content from say, a database or
> something...
>
>
> mvh karl øie
>
>
>
>
> -Original Message-
> From: Luke Studley [mailto:[EMAIL PROTECTED]]
> Sent: 5. desember 2001 17:12
> To: '[EMAIL PROTECTED]'
> Subject: RE: Inserting / Comining XML data
>
>
> Whoosh - point missed! ;-)
>
> That's precisely what I wanted to do - to pull dynamic XML data into the
XSL
> layer using the document() function. To do this though you need access to
> the underlying URIResolver for the stylesheet - which Karl has kindly
> provided a solution for.
>
> Just another way to skin a cat :-)
>
> Luke
>
>
> -Original Message-
> From: Robert Koberg [mailto:[EMAIL PROTECTED]]
> Sent: 05 December 2001 18:09
> To: [EMAIL PROTECTED]
> Subject: Re: Inserting / Comining XML data
>
> I am just coming into this thread, but couldn't you use the XSLT document
> function to bring in other XML (unless I am missing the point?)?
>
> best,
> -Rob
>
> - Original Message -
> From: "Luke Studley" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 05, 2001 7:38 AM
> Subject: RE: Inserting / Comining XML data
>
>
> > Thanks Karl.
> >
> > Glad to know somebody has had similar thoughts/needs.
> >
> > I will try this. You're right this doesn't replace generators - but it
> does
> > allow you to quite easily implement some sort of "Pull MVC" model a
> opposed
> > to the generator push model - and will allow me to use my existing
> > stylesheets mostly unchanged.
> >
> > Cheers
> >
> > Luke
> >
> >
> > -Original Message-
> > From: Karl Øie [mailto:[EMAIL PROTECTED]]
> > Sent: 05 December 2001 12:49
> > To: [EMAIL PROTECTED]
> > Subject: RE: Inserting / Comining XML data
> >
> > > 3. Maybe I could use some sort of custom URL protocol manager like the
> > > cocoon:/ and resource:/? Is it possible to supply new instances of
> these?
> > >
> > > 4. Or I could use my URI resolvers again? Is it possible to set Custom
> URI
> > > solvers in C2
> >
> > i have found two ways to accomplish this, but it took some time to find
> out,
> > mostly because this is not very well documented yet... ok here we go:
> >
> > in the "cocoon.xconf" file there is a "source-handler" entry, you can
> create
> > own protocols here:
> >
> > 
> >  > class="org.apache.cocoon.components.source.CoolSourceFactory"/>
> > 
> >
> > then you will have to create two classes called
> > "org.apache.cocoon.components.source.CoolSourceFactory" and
> > "org.apache.cocoon.components.source.CoolSource". they will have to
> > implement "org.apache.cocoon.components.source.SourceFactory" and
> > "org.apache.cocoon.environment.Source". Where the "CoolSourceFactory"
> > resolves urls with cool:/some/thing.xml and creates a "CoolSource" for
it.
> > now you can refere to "cool:/some/thing.xml" many places in your
project.
> >
> > BUT this didn't work for me because the
> > "org.apache.cocoon.environment.Source" interface expects a
> > org.xml.sax.InputSource and it delivers a characterstream or bytestream
> > back, and i had a sax/dom source and i didn't want to serialize it to
text
> > to get it parsed again... so i snooped around some more and found this:
> >
> >
> > again in your "cocoon.xconf" there is an entry for your default
> transformer.
> > i hacked mine like this:
> >
> >  > class="org.apache.cocoon.components.xslt.KarlsXSLTProcessorImpl"
> > logger="root.xslt">
> > 
> > 
> > 
> >
> >
> > then i created a class "called
> > org.apache.cocoon.components.xslt.KarlsXSLTProcessorImpl&quo

Re: Inserting / Comining XML data

2001-12-05 Thread Robert Koberg

I am just coming into this thread, but couldn't you use the XSLT document
function to bring in other XML (unless I am missing the point?)?

best,
-Rob

- Original Message -
From: "Luke Studley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 7:38 AM
Subject: RE: Inserting / Comining XML data


> Thanks Karl.
>
> Glad to know somebody has had similar thoughts/needs.
>
> I will try this. You're right this doesn't replace generators - but it
does
> allow you to quite easily implement some sort of "Pull MVC" model a
opposed
> to the generator push model - and will allow me to use my existing
> stylesheets mostly unchanged.
>
> Cheers
>
> Luke
>
>
> -Original Message-
> From: Karl Øie [mailto:[EMAIL PROTECTED]]
> Sent: 05 December 2001 12:49
> To: [EMAIL PROTECTED]
> Subject: RE: Inserting / Comining XML data
>
> > 3. Maybe I could use some sort of custom URL protocol manager like the
> > cocoon:/ and resource:/? Is it possible to supply new instances of
these?
> >
> > 4. Or I could use my URI resolvers again? Is it possible to set Custom
URI
> > solvers in C2
>
> i have found two ways to accomplish this, but it took some time to find
out,
> mostly because this is not very well documented yet... ok here we go:
>
> in the "cocoon.xconf" file there is a "source-handler" entry, you can
create
> own protocols here:
>
> 
>  class="org.apache.cocoon.components.source.CoolSourceFactory"/>
> 
>
> then you will have to create two classes called
> "org.apache.cocoon.components.source.CoolSourceFactory" and
> "org.apache.cocoon.components.source.CoolSource". they will have to
> implement "org.apache.cocoon.components.source.SourceFactory" and
> "org.apache.cocoon.environment.Source". Where the "CoolSourceFactory"
> resolves urls with cool:/some/thing.xml and creates a "CoolSource" for it.
> now you can refere to "cool:/some/thing.xml" many places in your project.
>
> BUT this didn't work for me because the
> "org.apache.cocoon.environment.Source" interface expects a
> org.xml.sax.InputSource and it delivers a characterstream or bytestream
> back, and i had a sax/dom source and i didn't want to serialize it to text
> to get it parsed again... so i snooped around some more and found this:
>
>
> again in your "cocoon.xconf" there is an entry for your default
transformer.
> i hacked mine like this:
>
>  class="org.apache.cocoon.components.xslt.KarlsXSLTProcessorImpl"
> logger="root.xslt">
> 
> 
> 
>
>
> then i created a class "called
> org.apache.cocoon.components.xslt.KarlsXSLTProcessorImpl" containing this
> (please not that i had to create it in the
org.apache.cocoon.components.xslt
> package to be allowed to extend XSLTProcessorImpl) :
>
>
> public class XonataXSLTProcessorImpl extends XSLTProcessorImpl {
> public javax.xml.transform.Source resolve(String href, String base)
> throws
> TransformerException {
> if (!href.startsWith("karl:")) {
> return super.resolve(href,base);
> }
> else {
> SAXSource source = new SAXSource( ... );
> or
> DOMSource source = new DOMSource( ... );
> or
> StreamSource source = new StreamSource( ... );
> return source;
> }
> }
> }
>
> this way i can respond and create any SAX/DOM/Stream source for any
protocol
> for the transformer, and i can use
"document('rmi://myserver/mydatachunk')"
> in my xsl documents. this does not replace a generator thou
>
>
> i would be happy if anyone could tell me if there is an easier way to
create
> protocol handlers that can deliver SAX or DOM and not only Stream.
>
>
>
> mvh karl øie
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: org.w3c.dom.Document as param, html as output

2001-07-07 Thread Robert Koberg

check out xmlc. it compiles xml:
http://xmlc.enhydra.org/

xalan has xsltc which compiles the xsl



- Original Message -
From: "JOEL BENVENISTE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 2:35 PM
Subject: org.w3c.dom.Document as param, html as output


> I'm trying to find a class/method (possibly xalan) that will take an
> org.w3c.dom.Document as an arg which will include an 
> processing instruction and have an ouput of html.  I need to have this
> done on the fly without the xml doc saved in a directoryany
> suggestions??
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
> -
> xml-interest: A list for discussing XML technologies in the Java Platform.
> To post, mailto:[EMAIL PROTECTED]
> Archives at: http://archives.java.sun.com/xml-interest.html
> To unsubscribe, mailto:[EMAIL PROTECTED] the following message;
> signoff xml-interest.
>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>