xsl-list
[Top] [All Lists]

RE: Handling Mixed Child Elements and Text() Nodes

2003-10-01 15:55:37
Hi Brook

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Brook Ellingwood
Sent: Wednesday, October 01, 2003 2:52 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] 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