[xsl] XPATH forumulation problem

Subject: [xsl] XPATH forumulation problem
From: "Jonas Lundberg" <my.name.is.hans@xxxxxxxxx>
Date: Sun, 11 Mar 2007 18:08:06 +0100
Hello,
I have the following XML 1) and 2) below. My problem is, how to I
write an Xpath that selects all <aspects> in 2), that has ALL of the
<aspect> in the <aspects> tag in 1), but which might also have
additional <aspect>? I cannot konw in advance how many <aspect> there
will be.

Maybe it's easy but I haven't been able to figure it out...

Best regards
Hans

1)
<xml>
<aspects>
<aspect>blog post</aspect>
<aspect>january</aspect>
.... ( any number of additional aspect) ...
<aspect>cars</aspect>
</aspects>
</xml>

2)
<xml>
<aspects>
<aspect>blog post</aspect>
<aspect>january</aspect>
.... ( any number of additional aspect) ...
<aspect>cars</aspect>
</aspects>
<aspects>
...
</aspects>
<aspects>
...
</aspects>
<aspects>
...
</aspects>
...
</xml>

Current Thread