[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Glossary Help

Subject: Glossary Help
From: "Shailesh Shinde" <shailesh@xxxxxxxxxxxx>
Date: Sat, 29 Jul 2006 12:13:26 +0530
 Glossary Help
Hi All,

I have an input xml file which looks like below, Here I have to do apply
glossary elements instead of <p><i><b> something like outputxml. 

Inputxml:

<division type="appendix">
		<topic id="cfmrk">
			<title>Glossary</title>
			<body>
				<p>The terms in this glossary cover topics
related to this manual. Alternate naming is included for reference.</p>
				<p><i>	<b>Abbreviations</b>	</i></p>
				<p><i>	<b>AC:</b></i>  alternating
current</p>
				<p><i>	<b>AGP:</b></i>  accelerated
graphics port</p>
				<p><i>	<b>ANSI: </b></i> American National
Standards Institute</p><p><i><b>APM:</b></i>  advanced power manager</p>
			</body>
		</topic>

<topic id="Blank">
<title>A</title>
<body><p><b>AccuPoint: </b> A pointing device integrated into the TOSHIBA
computer keyboard.</p>
<p><b>adaptor:  </b>A device that provides an interface between two
dissimilar electronic devices. For example, the AC adaptor modifies the
power from a wall outlet for use by the computer. This term also refers to
the add-in circuit cards that control external devices, such as video
monitors and magnetic tape devices. </p>
<p><b>allocate: </b> To assign a space or function for a specific task.</p>
<p><b>alphanumeric:</b>  Keyboard characters including letters, numbers and
other symbols, such as punctuation marks or mathematical symbols.</p>
</body></topic>

And so on for other topics which contains title alphabetically.........

Outputxml:

<division type="appendix">
		<topic id="cfmrk">
			<title>Glossary</title>

<glossarylist>
<glossarydiv> Abbreviations </ glossarydiv >
<glossaryterm> AC: </glossaryterm>
<glossarydef> alternating current </glossarydef>
</glossarylist>

Same for other topic titles "A", "B".......

Can anyone provide any examples or references for the same.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.