|
Subject: [xsl] for-each-group dropping one element (my inability to structure a test correctly) From: "Mark Wilson" <mark@xxxxxxxxxxxx> Date: Sun, 7 Feb 2010 00:09:31 -0800 |
Hi all, I have been at this for about six hours.
Any help would be appreciated Mark
Listing 1: Input
<?xml version="1.0" encoding="UTF-8"?>
<List >
<Item plate="1" position="1">
<Feature>
<Location>
<Element>rays</Element>
</Location>
<Data>dot below the rays under TA</Data>
</Feature>
<Feature>
<Location>
<Element>rays</Element>
<SubDiv>main</SubDiv>
</Location>
<Data>main ray swollen at both ends</Data>
</Feature>
</Item>
<Item plate="2" position="1">
<Feature>
<Location>
<Element>rays</Element>
</Location>
<Data>dot below the rays under S</Data> <!-- Not output -->
</Feature>
</Item>
<Item plate="1" position="2">
<Feature>
<Location>
<Element>rays</Element>
<SubDiv>main</SubDiv>
</Location>
<Data>main ray thicker in the middle</Data>
</Feature>
</Item>
</List>Listing 3: Output
<?xml version="1.0" encoding="UTF-8"?>
<List>
<Item>
<Feature>
<Element>rays</Element>
<Description>
<Data>dot below the rays under TA</Data>
<!-- Missing Element: <Data>dot below the rays under S</Data> goes here -->
</Description>
<Level1>
<SubDiv>main</SubDiv>
<Description>
<Data>main ray swollen at both ends</Data>
<Data>main ray thicker in the middle</Data>
</Description>
</Level1>
</Feature>
</Item>
</List>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XML to SVG via XSLT 2.0, Jirka Kosek | Thread | Re: [xsl] for-each-group dropping o, Wolfgang Laun |
| Re: [xsl] XML to SVG via XSLT 2.0, ac | Date | Re: [xsl] XML to SVG via XSLT 2.0, Dave Pawson |
| Month |