我怎麼能算多少以前FootNoteReference節點有一個XML文檔,如這以前的元素)等於「FootNoteReference」 ......計算已本地名(
<MyDoc>
<title><Big Title></title>
<head>Objective</head>
<head2><Heading></head2>
<head>Introduction</head>
<Para>
asdf asdf asdf asd<FootNoteReference />asdf asdf asfd asfd
</Para>
<head>Overview</head>
<Para>
<Begin with a definition of the class to which<FootNoteReference /> the categories belong, if required.>
</Para>
<Para><List the different categories to be taught.></Para>
<Heading1><Category 1></Heading1>
<Para>< som neodolal a celé ozdobené spústou prachu v jednom preso></Para>
<Para><Provide examples, if required.></Para>
<Heading1><Category 2></Heading1>
<Para>< som neodolal a celé ozdobené spústou prachu v jednom preso></Para>
<Para><Provide examples, if required.></Para>
<Heading1><Category 3></Heading1>
<Para>
<Provide a description<FootNoteReference /> of the third category as outlined in the list.>
</Para>
<Para><Provide examples, if required.></Para>
<head>Summary</head>
<ListItem type="ul"><Summarize the definition, if applicable.></ListItem>
<ListItem type="ul">< som neodolal a celé ozdobené spústou prachu v jednom preso<FootNoteReference />.></ListItem>
<ListItem type="ul">< som neodolal a celé ozdobené spústou prachu v jednom preso></ListItem></MyDoc>
公告FootNoteReference節點是如何嵌套在不同層次的。我知道他們是否都嵌套在我可以做的相同的水平上:count(preceding-sibling::*[local-name() = 'FootNoteReference'])
謝謝!
感謝您的幫助。這個技巧:select =「count(之前的:: FootNoteReference) – joe 2008-12-17 14:48:25