Hello everyone,
I am trying to list all the ids in <g> tags between <!-- Map Layers --> and <!-- Map Layers End --> comments in my SVG file using PHP. my sample svg file looks like this.
<svg>
<g id="resources">.....</g>
<!-- Map Layers -->
<g id="abc">......</g>
<g id="xyz">......</g>
<g id="upy">......</g>
<!-- Map Layers End -->
<g id="whatever">....</g>
</svg>
Can anyone tell me what should I do? Any help in this regard is highly appreciated.
Thanks,
Irfan