Hello,
I managed to do simple things like extract an URL but I am having a headache trying to extract an XML tag with its content.
<Grid.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF717171" Offset="1"/>
<GradientStop Color="#FFFFFFFF" Offset="0.498"/>
<GradientStop Color="#FF727272" Offset="0"/>
<GradientStop Color="#FFA4A4A4" Offset="0.858"/>
<GradientStop Color="#FFFFFFFF" Offset="0.098"/>
</LinearGradientBrush>
</Grid.Background>
By using "Restrict to between tags", i know i'm hitting the desired part of my text,
but i couldn't manage to extract the text, only remove it by using "Remove all" as a sub filter.
When i add "Extract matches" as a subfilter, the result is simply blank.
Filter used :
"Restrict to between tags, including the start and end of tag"
"Remove All"
Actually it works, it removes what i wanted to extract BUT Is there any way to "Invert" this filter ?
If not, do you know any other way to do it easily ?
Thanks for your help !
Best regards.
Extract an XML tag with its contents
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
Re: Extract an XML tag with its contents
I have found a solution : http://www.crystalsoftware.com.au/forum ... 917c5c1ef0
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: Extract an XML tag with its contents
I wouldn't have thought that extract matches would do that - can you please right-click your filter list, choose Copy, and Paste into a reply?
Re: Extract an XML tag with its contents
I'm afraid but I deleted and defragmented my drive since then ,,, couldn't recover it.
Basically, it didn't work,
I don't exactly remember but , i didn't use Restrict To,
I rather deleted all CR/LF/Tabs to get 1 line, then did something to extract it,,,
I was so disappointed by the result (was not worth it) that i just threw everything ....
Sorry but i just can't remember it, only thing i am sure of is, i haven't used the presets .
Basically, it didn't work,
I don't exactly remember but , i didn't use Restrict To,
I rather deleted all CR/LF/Tabs to get 1 line, then did something to extract it,,,
I was so disappointed by the result (was not worth it) that i just threw everything ....
Sorry but i just can't remember it, only thing i am sure of is, i haven't used the presets .