|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Making an FAQ page from XML
Kamal Bhatt wrote:
John Steel wrote:Thank you! That is excellent, but I have tried to wire it into my main template and it either doesn't copy the rest of the content or duplicates it. My only apply-templates line has select='node()|@*' and seems to insist on it. Could you see exactly what I need please? I'm trying stuff along these lines etc:Hi,You want to use modes. <xsl:template match='*|@*'> <xsl:copy> <xsl:apply-templates select='node()|@*'/> </xsl:copy> <xsl:apply-templates select="faq" mode="question"/> <xsl:apply-templates select="faq" mode="answer"/> </xsl:template> ... -- -------------------------- http://www.phonewebcam.com john.steel@xxxxxxxxxxxxxxx
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








