cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject XPath transformer?
Date Fri, 30 Aug 2002 08:25:16 GMT

I have a user manual in XML format:

    <s1 title="Introduction">
    <s1 title="Getting Started">

Is there any way that I could extract out just one <s1> element, and
render it as a page? Ie, like an XPath transformer, that would extract a
single node:

<map:match pattern="manual/*">
  <map:generate src="manual.xml"/>
  <map:transform type="xpath" select="/document/s1[@title='{1}']"/>
  <map:transform src="chapter2html.xsl"/>

I could then link to chapters with <link

Is this possible, or should I write my own transformer?



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