- //*[(name()!='codeblock')]
//*[not(self::codeblock)]
//*[not(codeblock)]
What am I doing wrong?
Post by jorusso » Fri Dec 06, 2013 10:12 am
Post by Jamil » Sat Dec 07, 2013 3:47 pm
Post by adrian » Fri Dec 13, 2013 4:42 pm
Code: Select all
//text()[not(ancestor::codeblock)]
Code: Select all
//*[not(descendant-or-self::codeblock)]|//text()[not(ancestor::codeblock)]
Post by jorusso » Thu Feb 13, 2014 2:26 am
Post by adrian » Thu Feb 13, 2014 6:51 pm
Post by shudson310 » Thu Jun 07, 2018 2:28 am
Code: Select all
<wintitle>some text</wintitle>
Code: Select all
<wintitle keyref="someKey" />
Code: Select all
//*[not(descendant-or-self::alt|descendant-or-self::title|descendant-or-self::shortdesc|descendant-or-self::draft-comment)]|//text()[not(ancestor::alt|ancestor::title|ancestor::shortdesc|ancestor::draft-comment)]
Post by adrian » Thu Jun 07, 2018 11:17 am
Code: Select all
//*[not(descendant-or-self::codeblock|ancestor::codeblock)]|//text()[not(ancestor::codeblock)]
Code: Select all
//*[not(descendant-or-self::alt|descendant-or-self::title|descendant-or-self::shortdesc|descendant-or-self::draft-comment|ancestor::alt|ancestor::title|ancestor::shortdesc|ancestor::draft-comment)]
Post by shudson310 » Thu Jun 07, 2018 3:40 pm
Return to “General XML Questions”
This website was created & generated with <oXygen/>®XML Editor