Well mostly XSLT, but I am using ColdFusion to do this.
XML Fragment:
<aTag>Some text blah blah blah <inlineTag>Foobar</inlineTag> more text blah
blah blah</aTag>
What would one do in XSLT to get at the 'inlineTag' to process, but keep it
inline with the text?
I tried templates, but that seems to move it in the flow. I.E.
<xsl:template match="aTag">
<p>
<xsl:value-of select="."/>
<xsl:apply-template select="inlineTag"/>
</p>
</xsl:template>
<xsl:template match="inlineTag">
<strong><xsl:value-of="." /></strong>
</xsl:template>
Produced output something like this:
<p>Some text blah blah blah more text blah blah blah
<strong>Foobar</strong></p>
Note how Foobar was moved to the end of the string. This is undesirable in
this case.
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
---------
| 1 | |
--------- Binary Soduko
| | |
---------
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269960
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4