cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
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:
<description>
  A <b>short</b> description
</description>

If so, just copy through the content:

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


--Jeff

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message