Arrgh. I've re-read this and I'm not making sense.  Here's another attempt.

The only file with a problem is faq.  The reason faq is a problem is due to
the fact that the data is called faq and the stylesheet to transform it into
the document dtd format is faqs2document.xsl (note the extra s).

So, since the additional processing looks for {filename}2document.xsl either
faq.xml needs to change to faqs.xml _or_ faqs2document.xsl needs to change
to faq2document.xsl _or_ we create a special case.

I *think* that's better ;)

J.

> -----Original Message-----
> From: Morrison, John [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 20 July 2001 12:08 pm
> To: '[EMAIL PROTECTED]'
> Subject: RE: cvs commit: xml-cocoon2/webapp/stylesheets/documents
> changes2 document.xsl copyover.xsl faq2document.xsl todo2document.xsl
> 
> 
> Huh, unfortunately the stylesheet is processed depending upon 
> the name (ie,
> for faq pipeline (where faq is the xml filename) it looks for
> {faq}2document.xsl).  If the filename was altered to faqs 
> then it would be a
> straight copy of skins/.../*2document.xsl.
> 
> The change to the file would entail:
> 1) change the name of the file in CVS.  ie mv faq.xml faqs.xml
> 2) alter all references s/faq\.xml/faqs.xml/g
> 
> What do you think?
> 
> > -----Original Message-----
> > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, 20 July 2001 12:05 pm
> > To: [EMAIL PROTECTED]
> > Subject: RE: cvs commit: xml-cocoon2/webapp/stylesheets/documents
> > changes2 document.xsl copyover.xsl faq2document.xsl 
> todo2document.xsl
> > 
> > 
> > John,
> > 
> > Eventually, we need to able to set the skin for the webapp 
> > version of C2 Docs. So it does make
> > some sense to keep the same convention as the existing skin 
> > stylesheets.
> > 
> > Thanks,
> > dims
> > 
> > --- "Morrison, John" <[EMAIL PROTECTED]> wrote:
> > > Dims,
> > > 
> > > I _could_ copy these files from 
> > skins/xml.apache.org/stylesheets but I'd
> > > have to rename the faqs2document.xsl -> faq2document.xsl or 
> > we can leave
> > > these as virtual duplicates. Preferences?
> > > 
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, 20 July 2001 11:55 am
> > > > To: [EMAIL PROTECTED]
> > > > Subject: cvs commit: xml-cocoon2/webapp/stylesheets/documents
> > > > changes2document.xsl copyover.xsl faq2document.xsl 
> > todo2document.xsl
> > > > 
> > > > 
> > > > dims        01/07/20 03:54:49
> > > > 
> > > >   Added:       webapp/stylesheets/documents Tag: 
> cocoon_20_branch
> > > >                         changes2document.xsl copyover.xsl 
> > > > faq2document.xsl
> > > >                         todo2document.xsl
> > > >   Log:
> > > >   Patch from John Morrison for better "C2 Docs" from webapp - 
> > > > missing files
> > > >   
> > > >   Revision  Changes    Path
> > > >   No                   revision
> > > >   
> > > >   
> > > >   No                   revision
> > > >   
> > > >   
> > > >   1.1.2.1   +0 -0      
> > > > xml-cocoon2/webapp/stylesheets/documents/changes2document.xsl
> > > >   
> > > >   Index: changes2document.xsl
> > > >   
> > ===================================================================
> > > >   RCS file: 
> > > > /home/cvs/xml-cocoon2/webapp/stylesheets/documents/changes2doc
> > > > ument.xsl,v
> > > >   retrieving revision 1.1
> > > >   retrieving revision 1.1.2.1
> > > >   diff -u -r1.1 -r1.1.2.1
> > > >   
> > > >   
> > > >   
> > > >   1.1.2.1   +0 -0      
> > > > xml-cocoon2/webapp/stylesheets/documents/copyover.xsl
> > > >   
> > > >   Index: copyover.xsl
> > > >   
> > ===================================================================
> > > >   RCS file: 
> > > > 
> /home/cvs/xml-cocoon2/webapp/stylesheets/documents/copyover.xsl,v
> > > >   retrieving revision 1.1
> > > >   retrieving revision 1.1.2.1
> > > >   diff -u -r1.1 -r1.1.2.1
> > > >   
> > > >   
> > > >   
> > > >   1.1.2.1   +0 -0      
> > > > xml-cocoon2/webapp/stylesheets/documents/faq2document.xsl
> > > >   
> > > >   Index: faq2document.xsl
> > > >   
> > ===================================================================
> > > >   RCS file: 
> > > > 
> > 
> /home/cvs/xml-cocoon2/webapp/stylesheets/documents/faq2document.xsl,v
> > > >   retrieving revision 1.1
> > > >   retrieving revision 1.1.2.1
> > > >   diff -u -r1.1 -r1.1.2.1
> > > >   
> > > >   
> > > >   
> > > >   1.1.2.1   +0 -0      
> > > > xml-cocoon2/webapp/stylesheets/documents/todo2document.xsl
> > > >   
> > > >   Index: todo2document.xsl
> > > >   
> > ===================================================================
> > > >   RCS file: 
> > > > 
> > 
> /home/cvs/xml-cocoon2/webapp/stylesheets/documents/todo2document.xsl,v
> > > >   retrieving revision 1.1
> > > >   retrieving revision 1.1.2.1
> > > >   diff -u -r1.1 -r1.1.2.1
> > > >   
> > > >   
> > > >   
> > > > 
> > > > 
> > 
> ----------------------------------------------------------------------
> > > > In case of troubles, e-mail:     [EMAIL PROTECTED]
> > > > To unsubscribe, e-mail:          
> > [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > 
> > > 
> > > 
> > > 
> > ==============================================================
> > =========
> > > Information in this email and any attachments are 
> > confidential, and may
> > > not be copied or used by anyone other than the addressee, 
> > nor disclosed
> > > to any third party without our permission.  There is no 
> intention to
> > > create any legally binding contract or other commitment 
> > through the use
> > > of this email.
> > > 
> > > Experian Limited (registration number 653331).  
> > > Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, email: [EMAIL PROTECTED]
> > > 
> > 
> > 
> > =====
> > Davanum Srinivas, JNI-FAQ Manager
> > http://www.jGuru.com/faq/JNI
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

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

Reply via email to