Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > BOOK: Beginning XSLT and XPath : Transforming XML Documents and Data
|
BOOK: Beginning XSLT and XPath : Transforming XML Documents and Data
This is the forum to discuss the Wrox book Beginning XSLT and XPath : Transforming XML Documents and Data by Ian Williams ISBN: 978-0-470-47725-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning XSLT and XPath : Transforming XML Documents and Data section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 7th, 2011, 04:20 AM
Registered User
 
Join Date: Feb 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Insert an image in a word document by performing XSL transformation on XML

I want to generate a word docuement by transforming an XML file(data file) using XSLT. Also need to include header and footer for the document.Here is the xml structure
Code:
<Document>
	<Title>GUI Requirements</Title>
	<HeaderText></HeaderText>
	<FooterText></FooterText>
	<Sections>
		<Section >
			<Header number="1" style="">Screens</Header>
			<Paragraph style="">text</Paragraph>
		</Section>
		<Section >			
<Header number="1.1" style="">Screens</Header>
			<List type="ordered" style="">
				<Item></Item>
				<Item></Item>
			</List>
		</Section>
		<Section >
			<Header number="2" style="">proc desc</Header>
			<Paragraph style="">this is proc desc</Paragraph>
		</Section>
		<Section >
			<Header number="3" style="">Usecase</Header>
			<Detail>
				<Rows>
					<Row>
						<Header>col name</Header>
						<Column>
							<Paragraph>text</Paragraph>
						</Column>
					</Row>
					<Row>
						<Header>Usecase</Header>
						<Column>
							<List type="BulletedList">
								<Item>uc_345</Item>
							</List>
						</Column>
					</Row>
				</Rows>
				<Caption>Table 1 Usecase Details</Caption>
			</Detail>
		</Section>
		<Section >
			<Header number="3" style="">Normal Flow Step</Header>
			<Table>
				<TableHeader>
					<Column>Step No</Column>
					<Column>Description</Column>					
				</TableHeader>
				<Rows>
					<Row>
						<Column>
							<Paragraph>1</Paragraph>
						</Column>
						<Column>
							<Paragraph>text</Paragraph>
						</Column>
					</Row>
					<Row>
						<Column>
							<Paragraph>2</Paragraph>
						</Column>
						<Column>
							<List type="BulletedList">
								<Item></Item>
							</List>
						</Column>
					</Row>
				</Rows>
				<Caption>Table 2 Normal Flow Steps</Caption>
			</Table>
		</Section>
		<Section >
			<Header number="4">References</Header>
			<Reference>
				<Link>http://google.com</Link>
			</Reference>
		</Section>
	</Sections>
</Document>
 
Old May 1st, 2011, 12:01 PM
Registered User
 
Join Date: May 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Pennsylvania Electricity
Default

Your post is unclear, better you elaborate.












Pennsylvania Electricity





Similar Threads
Thread Thread Starter Forum Replies Last Post
Open an XML document with an XSL? vb89 XSLT 3 December 7th, 2009 04:41 PM
open word document and insert data PorcupineRabbit Visual Basic 2005 Basics 1 August 9th, 2007 06:31 PM
XSLT transformation from XML buffer and XSL file sundaramkumar Javascript 1 September 5th, 2005 02:11 AM
insert word document to DB an read webphp PHP How-To 1 August 10th, 2005 02:34 PM
Server side transformation with- XSL/XML, ASP, IIS kenneth02 Classic ASP XML 3 November 10th, 2003 10:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.