Subject: RE: Handling Mixed Child Elements and Text() Nodes
From: Americo Albuquerque <melinor@xxxxxxxx>
Date: Wed, 1 Oct 2003 23:55:37 +0100
|
Hi Brook
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Brook Ellingwood
> Sent: Wednesday, October 01, 2003 2:52 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Handling Mixed Child Elements and Text() Nodes
>
>
> Hi Americo,
>
> Using your solution exactly as it was in your mail and
> running through MSXML3, I'm getting different output than
> you. This is what I see:
>
That might be due to line break. Here is the xml I used. Noticed the use
of <br/> to show where line breaks are, to test it you should remove the
<br/> and make sure that you'll have a line break for each <br/>
Regards,
Americo Albuquerque
<?xml version="1.0"?>
<page><br/>
<body><br/>
<text><br/>
<subhead>Linked Text</subhead><br/>
<br/>
<link url="a">A</link><br/>
<br/>
<link url="b">B</link><br/>
<br/>
<link url="c">C</link><br/>
<br/>
<link url="d">D</link> (AKA X)<br/>
<br/>
<link url="e">E</link><br/>
<br/>
<subhead>Unlinked Text</subhead><br/>
<br/>
F<br/>
<br/>
G<br/>
<br/>
H<br/>
<br/>
I<br/>
<br/>
J<br/>
<br/>
</text><br/>
</body><br/>
</page>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|