|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Cropping results - count( ) question
The program that I am working on requires that I merge two XML files
together. In the course of the merging, I create a wrapper element and
stuff all of the other elements into this wrapper element. I always need
to add two static elements to this wrapper. I may or may not add other
elements depending on certain conditions. After this processing occurs, I
envision the data looks like the following:
<List>
<Wrapper>
<Always1>1</Always1>
<Always2>2</Always2>
<Item3>3</Item3>
</Wrapper>
<Wrapper>
<Always1>11</Always1>
<Always>12</Always2>
</Wrapper>
<Wrapper>
<Always>21</Always>
<Always>22</Always>
</Wrapper>
</List>
Now, if possible, without running another XSL over the results, I want to
only include the <Wrapper> elements where the number of children > 2.
Is this possible, and how can I do it?
Thanks in advance,
Matt Youngblut
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








