Subject: [xsl] A simple basic question From: Philip Mak <pmak@xxxxxxxxxxx> Date: Mon, 6 May 2002 07:38:53 -0400 |
I looked at various XSL guides, but I still can't figure out how to transform this: <document> <paragraph>Here is a <bold>bold</bold> word.</paragraph> <paragraph>Here is an <italic>italic</italic> word.</paragraph> </document> into this: <body> <p>Here is a <b>bold</b> word.</p> <p>Here is an <i>italic</i> word.</p> </document> The part I have trouble with is the <bold> and <italic>. The thing is that they could appear anywhere in the document; they're not part of a rigid structure. It seems that when I use <xsl:value-of select="paragraph">, the <bold> and <italic> tags inside just get stripped out. Any suggestions? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] One texdocument in and se, Steve Perriman | Thread | Re: [xsl] A simple basic question, Jeni Tennison |
[xsl] One texdocument in and severa, Tove Nilstun | Date | Re: [xsl] A simple basic question, Jakub . Valenta |
Month |