Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT 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 April 1st, 2010, 10:43 AM
blg blg is offline
Registered User
 
Join Date: Apr 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default XSLT and XSL-FO

I am new to XSLT and XSL-Fo. I am trying to include mark-up to format the width of columns in tables in an XML document.

This XML file is being imported into Framemaker using an automated process.

I'm assuming I should place the XSL-Fo within the colspec element's XSL mark-up. Is that correct? The colspec XSL mark-up looks like this:

<xsl:template match="colspec">
<xsl:copy>
<xsl:for-each select="@*">
<xsl:copy/>
</xsl:for-each>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>

How do I add the colwidth mark-up to this?
 
Old April 1st, 2010, 11:00 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Assume we don't know anything about XSL-FO (which I don't). It would help if you could list what your input XML looks like and what you want your output XML to look like. (and if this is a big document you are processing then perhaps cut it down to a small sample to illustrate your problem).
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?





Similar Threads
Thread Thread Starter Forum Replies Last Post
xsl:fo anirudhas XSLT 2 December 29th, 2008 03:42 AM
XSL-FO NEO1976 XML 2 July 19th, 2006 10:10 AM
xsl:fo with Select Birger XSLT 4 July 18th, 2006 11:38 AM
XSL-FO Question gray XSLT 1 February 18th, 2005 11:31 AM
hello, some problems with XSL-FO LuisMM XSLT 4 December 19th, 2003 02:55 PM





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