simonchristieis
Programmer
I have an xml file:
<Paragraph>
Zamora tells <I>Petroleum Economist</I> that foreign and private-sector.
</Paragraph>
and I want to mark it up using the (deprecated - i know) italic tag.
but although I can loop through the Paragraph elements, I can't get the page to mark up with the <I> element in the right place.
Using this code ignores the I tag as it should, what I am trying to do is mark up the entire paragraph using the child elements as mark up instructions.
<xsl:for-each select="Paragraph">
<xsl:if test="normalize-space(text())">
<xsl:value-of select="."/><BR/><BR/>
</xsl:if>
</xsl:for-each>
any ideas ?
Simon
<Paragraph>
Zamora tells <I>Petroleum Economist</I> that foreign and private-sector.
</Paragraph>
and I want to mark it up using the (deprecated - i know) italic tag.
but although I can loop through the Paragraph elements, I can't get the page to mark up with the <I> element in the right place.
Using this code ignores the I tag as it should, what I am trying to do is mark up the entire paragraph using the child elements as mark up instructions.
<xsl:for-each select="Paragraph">
<xsl:if test="normalize-space(text())">
<xsl:value-of select="."/><BR/><BR/>
</xsl:if>
</xsl:for-each>
any ideas ?
Simon