473,289 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

Using XML and XSLT for publishing a church bulletin on web and paper

Folks,

I need some advice. I hpoe some of you can advise me.

Our church's weekly bulletin has been published on paper for years. It is
created in MS Word and sent to the publishing company. Now I need to publish
the same information on our new web site. But I don't want to put an image
of the paper bulletin on the web site. I want it to look natural there, as
if it were produced with god web design principles.

Although I have years of software development background including web-based
applications and am familiar with HTML, XHTML, DOM, etc., I have not worked
with XML at all. But from my reading, it appears that I may be able to
accomplish what I need by applying XML to the job.

I think it is possible to define the bulletin as a structured document in an
XML schema. I also think it is possible to develop two XSLT stylesheets (if
that's what you call XSLT files). One would transform he XML-marked bulletin
into an MS Word document using WordprocessingML and the other would
transform it into a pretty web page using XHTML.

My questions are:

1.) Is the above approach feasible? Is it natural? Are there better ways of
accomplishing the same thing?

Assuming the answer to #1 is that it is approriate to take this approach:

2.) Has anyone done this before (perhaps for things besides church
bulletins)? If so, can I learn from those efforts?

3.) What tools are available to help with this? I use Dreamweaver for normal
web page development. Are there similar tools for XML? What are recommended?
Are they expensive? (I am a single person - not a team - with a single
application. I may parlay this into more applications in the future.)

4.) The church secretaries currently use MS Word in a simple fashion to
enter the weekly bulletin. How will they do it if I develop this solution?
Will they still use MS Word?

I will greatly appreciate anyone's advice.

Thanks in advance....

-- Tim Dempsey
Jul 20 '05 #1
3 2028
Tim Dempsey wrote:
Folks,

I need some advice. I hpoe some of you can advise me.

Our church's weekly bulletin has been published on paper for years. It is
created in MS Word and sent to the publishing company. Now I need to publish
the same information on our new web site. But I don't want to put an image
of the paper bulletin on the web site. I want it to look natural there, as
if it were produced with god web design principles.

Although I have years of software development background including web-based
applications and am familiar with HTML, XHTML, DOM, etc., I have not worked
with XML at all. But from my reading, it appears that I may be able to
accomplish what I need by applying XML to the job.

I think it is possible to define the bulletin as a structured document in an
XML schema. I also think it is possible to develop two XSLT stylesheets (if
that's what you call XSLT files). One would transform he XML-marked bulletin
into an MS Word document using WordprocessingML and the other would
transform it into a pretty web page using XHTML.

My questions are:

1.) Is the above approach feasible? Is it natural? Are there better ways of
accomplishing the same thing?

Assuming the answer to #1 is that it is approriate to take this approach:

2.) Has anyone done this before (perhaps for things besides church
bulletins)? If so, can I learn from those efforts?

3.) What tools are available to help with this? I use Dreamweaver for normal
web page development. Are there similar tools for XML? What are recommended?
Are they expensive? (I am a single person - not a team - with a single
application. I may parlay this into more applications in the future.)

4.) The church secretaries currently use MS Word in a simple fashion to
enter the weekly bulletin. How will they do it if I develop this solution?
Will they still use MS Word?

I will greatly appreciate anyone's advice.

Thanks in advance....

-- Tim Dempsey


Hi, Tim,

Depending on which version of Microsoft Word you're using, you may well
have the option of saving the file as XML directly from Word. This might
be your best option, as the secretaries are already familiar with Word.

After that, you could certainly use an XSLT stylesheet to transform it
into HTML (that is, assuming that the default HTML that Word can be
saved from Word is unacceptable).

Hope this helps,
Steve
Jul 20 '05 #2

"Tim Dempsey" <tf*******@comcast.net> wrote in message
news:Ou********************@giganews.com...
Folks,

I need some advice. I hpoe some of you can advise me.

Our church's weekly bulletin has been published on paper for years. It is
created in MS Word and sent to the publishing company. Now I need to publish the same information on our new web site. But I don't want to put an image
of the paper bulletin on the web site. I want it to look natural there, as
if it were produced with god web design principles.

Although I have years of software development background including web-based applications and am familiar with HTML, XHTML, DOM, etc., I have not worked with XML at all. But from my reading, it appears that I may be able to
accomplish what I need by applying XML to the job.

I think it is possible to define the bulletin as a structured document in an XML schema. I also think it is possible to develop two XSLT stylesheets (if that's what you call XSLT files). One would transform he XML-marked bulletin into an MS Word document using WordprocessingML and the other would
transform it into a pretty web page using XHTML.

My questions are:

1.) Is the above approach feasible? Is it natural? Are there better ways of accomplishing the same thing?

Assuming the answer to #1 is that it is approriate to take this approach:

2.) Has anyone done this before (perhaps for things besides church
bulletins)? If so, can I learn from those efforts?

3.) What tools are available to help with this? I use Dreamweaver for normal web page development. Are there similar tools for XML? What are recommended? Are they expensive? (I am a single person - not a team - with a single
application. I may parlay this into more applications in the future.)

4.) The church secretaries currently use MS Word in a simple fashion to
enter the weekly bulletin. How will they do it if I develop this solution?
Will they still use MS Word?

I will greatly appreciate anyone's advice.

Thanks in advance....

-- Tim Dempsey

Hello Tim,

A couple of points might help:

Using a schema to describe your document is a good idea, but if you're new
to XML, using a DTD might be easier. The syntax is simpler, DTD's are more
suited to the mixed content of your newsletter, and you probably won't need
all the bells and whistles of a schema. Some people say DTD's are dead but
they are appropriate in many cases.

The latest versions of MS Word have an option to save documents as XML and
optionally apply transformations in the process. So, I could imagine your
secretaries would continue to use Word as they do now. But, they would save
an extra copy as XML which would then be transformed by XSLT to HTML. You
could then pick up this HTML output with Dreamweaver and do any tidying up
you think appropriate (or build it into the XSLT when you get a handle on
what's required).

Regarding tools, XML Spy by Altova is a serious, top-drawer XML development
tool you could use to create and test your DTDs and/or schemas. When I
cought my copy it was around US$400. If you want to go open-source (and
free) there are plenty of free plug-ins to the Eclipse workbench that will
do the job without all the muscle of XML Spy.

If you need any pointers to books or the Eclipse tools, just re-post here.

Speck.
Jul 20 '05 #3
"Speck" <sp***@Australia.net> wrote >
"Tim Dempsey" <tf*******@comcast.net> > > I need some advice. I hpoe some of you can advise me.

Our church's weekly bulletin has been published on paper for years. It is created in MS Word and sent to the publishing company. Now I need to

publish
the same information on our new web site. But I don't want to put an image of the paper bulletin on the web site. I want it to look natural there, as if it were produced with god web design principles.

Although I have years of software development background including

web-based
applications and am familiar with HTML, XHTML, DOM, etc., I have not

worked
with XML at all. But from my reading, it appears that I may be able to
accomplish what I need by applying XML to the job.

I think it is possible to define the bulletin as a structured document in an
XML schema. I also think it is possible to develop two XSLT stylesheets (if
that's what you call XSLT files). One would transform he XML-marked

bulletin
into an MS Word document using WordprocessingML and the other would
transform it into a pretty web page using XHTML.

My questions are:

1.) Is the above approach feasible? Is it natural? Are there better ways

of
accomplishing the same thing?

Assuming the answer to #1 is that it is approriate to take this

approach:
2.) Has anyone done this before (perhaps for things besides church
bulletins)? If so, can I learn from those efforts?

3.) What tools are available to help with this? I use Dreamweaver for

normal
web page development. Are there similar tools for XML? What are

recommended?
Are they expensive? (I am a single person - not a team - with a single
application. I may parlay this into more applications in the future.)

4.) The church secretaries currently use MS Word in a simple fashion to
enter the weekly bulletin. How will they do it if I develop this solution? Will they still use MS Word?

I will greatly appreciate anyone's advice.

Thanks in advance....

-- Tim Dempsey

Hello Tim,

A couple of points might help:

Using a schema to describe your document is a good idea, but if you're new
to XML, using a DTD might be easier. The syntax is simpler, DTD's are more
suited to the mixed content of your newsletter, and you probably won't

need all the bells and whistles of a schema. Some people say DTD's are dead but
they are appropriate in many cases.

The latest versions of MS Word have an option to save documents as XML and
optionally apply transformations in the process. So, I could imagine your
secretaries would continue to use Word as they do now. But, they would save an extra copy as XML which would then be transformed by XSLT to HTML. You
could then pick up this HTML output with Dreamweaver and do any tidying up
you think appropriate (or build it into the XSLT when you get a handle on
what's required).

Regarding tools, XML Spy by Altova is a serious, top-drawer XML development tool you could use to create and test your DTDs and/or schemas. When I
cought my copy it was around US$400. If you want to go open-source (and
free) there are plenty of free plug-ins to the Eclipse workbench that will
do the job without all the muscle of XML Spy.


There is now a free version of XML Spy, for download from their web site.
This has plenty of functionality to get you started.

John

--
John Allen
Bofferdange, Luxembourg
allen{AT}vo{DOT}lu
http://www.homepages.lu/allen
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sunwest Technologies | last post by:
Sunwest Technologies is pleased to announce the availability of Web Bulletin for ASP, a server-side component for easy creation of bulletin board in a web browser. The bulletin board can be used to...
2
by: kgould | last post by:
I'm trying to use XMLStarlet to pull a value out of Microsoft's mssecure.xml file for patch availability. I'm an XML newb, so I'm struggling here. I want to pull the @Summary field value- I'm...
2
by: dado0583 | last post by:
Hi, I'm currently writing an XSLT Editor tool as part of a university project. I would like to know what those of you that use XSLT look for in an XSLT editor. Currently, the main features will...
3
by: Jim | last post by:
When output from inside a loop <xsl:for-each select="Comment"> <br><xsl:value-of select="Line" /></br> </xsl:for-each> A blank line is inserted between each line, when I remove the <br> then...
2
by: postings | last post by:
Hi I work for a small company that publishes a number of paper based newsletters for companies. It also supplies these newsletters as PDF's and sends weekly updates (e-bulletins as we call...
3
by: shaun roe | last post by:
mild rant follows Working now for a couple of years with xslt and now xslt 2.0, does anyone else get the impression that xslt 2.0 somehow missed the point? Yes its got a fancy new data model...
1
by: selvasundar | last post by:
Hi, I am working in e-publishing domain. Already i know about xml and xslt, but i need to do some sample projects using xslt in xml. Please send me related url's or give me idea's. Example:...
32
by: andresj | last post by:
I was doing some programming in Python, and the idea came to my mind: using fractions instead of floats when doing 2/5. The problem arises when you try to represent some number, like 0.4 in a...
10
by: jmarcrum | last post by:
Hi everyone! I have a church database that keeps track of all of our church's members: first and last name, email address, phone number, home address (street, city, zipcode). I was...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.