Subject: Formatting an element at the end of PCDATA From: "Cees Dekker" <cees.dekker@xxxxxxxx> Date: Fri, 10 Sep 1999 21:30:59 +0200 |
I am having trouble with finding the proper XSL coding for
IE5 for the following XML code:
.............<JRNL>Journal of
physics<CITY>Amsterdam</CITY></JRNL>.............
while the element CITY can also occur elsewhere outside
JRNL.
I want to get as output:
...........Journal of physics
[Amsterdam]..................
while for the CITY element outside JRNL no square
brackets are allowed.
The XSL coding to start with for the element CITY
outside JRNL is:
<xsl:template match="JRNL">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="CITY">
<xsl:apply-templates />
</xsl:template>
Does someone know how to change this XSL coding to get the wanted result? I
don't seem to be able to find the proper 'contexting'. Keep in mind the
inside element JRNL also element like ITAL, BOLD, etc. may occur.
Regards,
Cees Dekker
ILOX
Netherlands |
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: fo in web browsers, Vidar Gundersen | Thread | Re: Formatting an element at the en, Silveste® Poza®nik |
RE: DOCTYPE and <xsl:preserve-space, Mike Brown | Date | Re: xsl:fo in web browsers, Paul Tchistopolskii |
Month |