cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Re: FOP again.. And html
Date Fri, 30 Aug 2002 06:14:07 GMT
On Fri, Aug 30, 2002 at 10:23:31AM +0930, Tim Cavanagh wrote:
> Hi,
> Sorry if this is the wrong place to ask this question..
> I am using fop to serialize pdf from xml docs.
> Is it possible to substitute or remove html tags that are mixed in with
> plain text within an XML element.  These tags are only simple ones like
> <b>xsx</b> and OL's, UL's. Can this be done with fo or xslt?

Are the tags part of the XML tree, eg:
  A <b>short</b> description

If so, just copy through the content:

<xsl:template match="b|ol|ul">
  <xsl:value-of select="."/>


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message