---------- Forwarded message ----------
From: "Daniel Holmlund" <[EMAIL PROTECTED]>
To: [email protected]
Date: Fri, 2 Mar 2007 10:20:14 +0100
Subject: Is it possible to build a xml filter using XSLT2
I work for a publishing house and we are looking to move our books to
be published into an XML format.  I was very excited to begin reading
about OO abilities to read and write different XML formats by
implementing an XML filter and I thought it was an excellent
opportunity to introduce OO to our business.

I would also be interested in contributing to OO list of XML filters,
but for the moment I'm writing one for in house use.  Development was
fine until I used the replace function defined in XSLT2.

My question is this.  Is it possible to write a XML filter for OO in XSLT2?

Daniel Holmlund


---------- Forwarded message ----------
From: "Dave Pawson" <[EMAIL PROTECTED]>
To: [email protected]
Date: Fri, 2 Mar 2007 09:34:59 +0000
Subject: Re: [xml-dev] Is it possible to build a xml filter using XSLT2
On 02/03/07, Daniel Holmlund <[EMAIL PROTECTED]> wrote:
> I work for a publishing house and we are looking to move our books to
> be published into an XML format.
Keep an eye on the docbook group on Oasis. They are forming a
subcommittee to look at publishing as apposed to technical work.

Thanks Dave.  I'll keep my eye on the docbook group.



 I was very excited to begin reading
> about OO abilities to read and write different XML formats by
> implementing an XML filter and I thought it was an excellent
> opportunity to introduce OO to our business.
+1


>
> I would also be interested in contributing to OO list of XML filters,
> but for the moment I'm writing one for in house use.  Development was
> fine until I used the replace function defined in XSLT2.
>
> My question is this.  Is it possible to write a XML filter for OO in XSLT2?

Yes.

ODF xml is (can be) complex. But it is nothing that XSLT 2.0 can't cope with.

What I'm waiting for is someone to sit down and generate a full suite of
templates for ODF, that other users can pick up when a new transform is needed.

Unfortunately, it is hard to do automatically when no one has generated an ODF
instance that makes full use of the syntax (for a writer document).
If that were done, I have tools that would generate the stylesheet.


HTH

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


---------- Forwarded message ----------
From: "bryan rasmussen" <[EMAIL PROTECTED]>
To: [email protected]
Date: Fri, 2 Mar 2007 13:39:01 +0100
Subject: Re: [xml-dev] Is it possible to build a xml filter using XSLT2
I'm thinking what this question actually is about, is it possible to
write a filter in XSLT2 and have Open Office use it,
in other words how to switch processors. I think there has been some
discussion about this before but can't find it now.

Thanks Dave.  I'll keep my eye on the docbook group.

Bryan, in the words of Fisher Stevens and short circuit, "Now you are
hitting the nail right between the eyes."  In fact, I already have
written the style sheet to do the conversion and I setup subversion to
trigger it whenever anyone checks in a file in ODF format.  However,
it is my hope that I can allow people to individually be able to do
this on their own desktops simply by clicking, "Save As."

We are a small publisher and most of the people that do XML tagging
are volunteers and don't come from a programming background.  We have
a 150 page manual on how to do our tagging and of course it takes
people a lot of time to get up to speed.  The ability to show people
that they could simply click "Save as" would give them a huge dose of
wow factor.  And a very good reason to begin introducing open office
to our group.

My understanding is that open office currently uses Xalan for all of
its stylesheet transformations and that Xalan is working on its XSLT2
transformer but is not yet there.  I would be very interested in
knowing if it is possible to use Saxon8 instead.  Dave, you said it
would be worth implementing if missing.  I wonder if there are other
people that feel the same way as us?

Daniel Holmlund


Cheers,
Bryan Rasmussen

On 3/2/07, Dave Pawson <[EMAIL PROTECTED]> wrote:
> On 02/03/07, Daniel Holmlund <[EMAIL PROTECTED]> wrote:
> > I work for a publishing house and we are looking to move our books to
> > be published into an XML format.
> Keep an eye on the docbook group on Oasis. They are forming a
> subcommittee to look at publishing as apposed to technical work.
>
>
>  I was very excited to begin reading
> > about OO abilities to read and write different XML formats by
> > implementing an XML filter and I thought it was an excellent
> > opportunity to introduce OO to our business.
> +1
>
>
> >
> > I would also be interested in contributing to OO list of XML filters,
> > but for the moment I'm writing one for in house use.  Development was
> > fine until I used the replace function defined in XSLT2.
> >
> > My question is this.  Is it possible to write a XML filter for OO in XSLT2?
>
> Yes.
>
> ODF xml is (can be) complex. But it is nothing that XSLT 2.0 can't cope with.
>
> What I'm waiting for is someone to sit down and generate a full suite of
> templates for ODF, that other users can pick up when a new transform is 
needed.
>
> Unfortunately, it is hard to do automatically when no one has generated an ODF
> instance that makes full use of the syntax (for a writer document).
> If that were done, I have tools that would generate the stylesheet.
>
>
> HTH
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>
> ---------------------------------------------------------------------
> 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]

Reply via email to