Re: Fully exploiting Cocoon

2001-08-03 Thread David Crossley

There are many tools to help. Start at
The XML Cover Pages www.oasis-open.org/cover/
and follow your nose ...

However, here are some tips ...
* beware, there are many bodgy tools which do horrid shortcuts
* do not try to get one tool to do-it-all (you may need a
different one for XML editing and another for XSL development)
* make sure that your tools are capable of entity resolution
* use a validating parser to check all documents before you
try them with Cocoon
* heed Ulrich's "Rant" thread in June regarding using an
infamous web browser to view documents, thinking that you are
validating your XML document - it is broken

hope that helps, David


> From: Richard Heintze
> Date: Fri, 3 Aug 2001 17:55:26 -0700 (PDT) 
>
> Wow!
> As a sample I'm trying to use cocoon for my resume.
> To fully exploit cocoon/xml/xsl/fo and schemas I have
> to keep 5 files synchronized:
> (1) siegfriedXSD.xml
> (2) resume.xsd
> (3) plain.xsl
> (4) plain-fo.xsl
> (5) siegfriedXSD-FO.xml (almost identical to siegfriedXSD.xml).
>
> Whew! that is a lot of work. Is there not some tool
> that will help?
>
> Siegfried

-
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: Fully exploiting Cocoon

2001-08-05 Thread Berin Loritsch

Why do you feel you have to keep them synchronised.

If you have a number of resumes that all conform to
your resume.xsd markup, then they can all work through
the same stylesheets.  If your stylesheets are written
to accept the same markup, they can be used
interchangeably for whatever your desired result is.

That means that if you have the source files:

* siegried.xml
* roy.xml

That conform to the "resume.xsd" schema (which does
not have to be used at runtime BTW).

Then both stylesheets below will be able to process
both xml files above:

* resume2xhtml.xsl
* resume2fo.xsl

That means that you can have two outputs for every one
input.  If you had 20 resumes, you only have to keep
the one source file for each managed, and the two
stylesheets managed.  Now, instead of having to manage
40 different files (1 PDF and 1 HTML for each person),
you only have to manage 22 files.

The trick is be smart about how you set things up.

If there is some extra information that you want to
show up for PDFs and not for HTML, then you design
the resume2xhtml.xsl file to ignore the elements that
you want ignored.

--- Richard Heintze <[EMAIL PROTECTED]> wrote:
> Wow!
>  As a sample I'm trying to use cocoon for my resume.
> To fully exploit cocoon/xml/xsl/fo and schemas I
> have
> to keep 5 files synchronized:
>   (1) siegfriedXSD.xml
>   (2) resume.xsd
>   (3) plain.xsl
>   (4) plain-fo.xsl
>   (5) siegfriedXSD-FO.xml (almost identical to
> siegfriedXSD.xml).
> 
> Whew! that is a lot of work. Is there not some tool
> that will help?
> 
>  Siegfried
> 
> __
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.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]>
> 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.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]>




Re: Fully exploiting Cocoon

2001-08-06 Thread Richard Heintze

I'm wondering if I am doing something wrong. My job
would be a lot easier if I had a xsd file that worked
with an xsl and fo.xsl file for the resume and other
documents I want to create. Then when I encounter an
error I would know I typed something wrong in my xml
file. 

I hear you can get schema from biztalk and oasis but I
went to those sites, performed searches and could not
find any resumes or other documents I might need.

I'm learning xsd and xslt so when I make a change to
SiegfriedXSD.xml I have to also change resume.xsd and
resume.xsl and resume-fo.xsl. That is tedious.


--- Berin Loritsch <[EMAIL PROTECTED]> wrote:
> Why do you feel you have to keep them synchronised.
> 
> If you have a number of resumes that all conform to
> your resume.xsd markup, then they can all work
> through
> the same stylesheets.  

No, I'm just trying to get the first one to work.

>If your stylesheets are
> written
> to accept the same markup, they can be used
> interchangeably for whatever your desired result is.
> 
> That means that if you have the source files:
> 
> * siegried.xml
> * roy.xml
> 
> That conform to the "resume.xsd" schema (which does
> not have to be used at runtime BTW).
> 
> Then both stylesheets below will be able to process
> both xml files above:
> 
> * resume2xhtml.xsl
> * resume2fo.xsl
>

Yes but I have to write those files too!
 
> That means that you can have two outputs for every
> one
> input.  If you had 20 resumes, you only have to keep
> the one source file for each managed, and the two
> stylesheets managed.  Now, instead of having to
> manage
> 40 different files (1 PDF and 1 HTML for each
> person),
> you only have to manage 22 files.
> 
> The trick is be smart about how you set things up.
> 
> If there is some extra information that you want to
> show up for PDFs and not for HTML, then you design
> the resume2xhtml.xsl file to ignore the elements
> that
> you want ignored.
> 
> --- Richard Heintze <[EMAIL PROTECTED]> wrote:
> > Wow!
> >  As a sample I'm trying to use cocoon for my
> resume.
> > To fully exploit cocoon/xml/xsl/fo and schemas I
> > have
> > to keep 5 files synchronized:
> >   (1) siegfriedXSD.xml
> >   (2) resume.xsd
> >   (3) plain.xsl
> >   (4) plain-fo.xsl
> >   (5) siegfriedXSD-FO.xml (almost identical to
> > siegfriedXSD.xml).
> > 
> > Whew! that is a lot of work. Is there not some
> tool
> > that will help?
> > 
> >  Siegfried
> > 
> > __
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute
> > with Yahoo! Messenger
> > http://phonecard.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]>
> > 
> 
> 
> __
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.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]>
> 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.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]>