473,405 Members | 2,379 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,405 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 2033
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.