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.
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] fo:marker weirdness?, G. Ken Holman | Thread | [xsl] Error at element constructor., SEXpeare |
RE: [xsl] Joining two XML-files, ca, Michael Kay | Date | Re: [xsl] Issues with Classpath : L, Mukul Gandhi |
Month |