# Capturing SVG xpath values

**URL:** <https://forum.katalon.com/t/capturing-svg-xpath-values/31990>\
**Category:** Miscellaneous\
**Tags:** katalon-studio\
**Created:** [August 22, 2019, 2:18pm UTC](https://forum.katalon.com/t/capturing-svg-xpath-values/31990 "2019-08-22T14:18:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saumil.sah](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/saumil.sah/32/16104_2.png) [@saumil.sah](https://forum.katalon.com/u/saumil.sah)\
**Post date:** [August 22, 2019, 2:18pm UTC](https://forum.katalon.com/t/capturing-svg-xpath-values/31990/1 "2019-08-22T14:18:23Z")

</div>

Hi team,

I am having problems capturing the xpath value which is nested in SVG as follows

 ![svg](https://europe1.discourse-cdn.com/katalon/original/2X/9/976336045acebe4426216e193a8574b0156046e1.png)

I have tried the following:

1. //_[@id=“\_\_cloud4-container”]/_ ]/div/_[local-name()=“svg”]/_[local-name()=“g” and @id=“wordCloud”]

2. //div[@id=“\_\_cloud4-container”]/div/\*[local-name()=“svg”]

3. //_[local-name()=“svg”]//_[local-name()=“g” and @id=“wordCloud”]

But it still throws an error. Any suggestions?

Best Regards,  
Saumil

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 6:59am UTC](https://forum.katalon.com/t/capturing-svg-xpath-values/31990/2 "2022-08-08T06:59:46Z")

</div>

Archived on August 8, 2022, 6:59am UTC


