# Static string in DwCA query?

**URL:** <https://speciforum.org/t/static-string-in-dwca-query/2758>\
**Category:** Get Help\
**Created:** [August 7, 2025, 12:31pm UTC](https://speciforum.org/t/static-string-in-dwca-query/2758 "2025-08-07T12:31:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![willem](https://avatars.discourse-cdn.com/v4/letter/w/898d66/32.png) [@willem](https://speciforum.org/u/willem)\
**Post date:** [August 7, 2025, 12:31pm UTC](https://speciforum.org/t/static-string-in-dwca-query/2758/1 "2025-08-07T12:31:23Z")

</div>

How do I include a static string in my query to export data via the RSS feed?

I’m hoping that it’s something close to what I have guessed below (highlighted part), where I want to insert microliters statically because I don’t have a field containing the unit of DNA concentration:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/e/ec01c13ba8b8f164b357f46db1ab47af38bb3243.jpeg)

---

<div class="post-metadata">

**Author:** ![AndyBentley](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/andybentley/32/534_2.png) [@AndyBentley](https://speciforum.org/u/AndyBentley)\
**Post date:** [August 7, 2025, 1:42pm UTC](https://speciforum.org/t/static-string-in-dwca-query/2758/2 "2025-08-07T13:42:55Z")

</div>

Yes, you can add a static string or default value by including it in the value= string. However, be aware that some aggregators do not accept static strings and cannot parse them. I can’t remember who it was that was complaining about them. The alternative is to add that value to a higher table like collection or institution and map that field to the DwC concept instead as a constant.

```xml
<field term="http://rs.tdwg.org/dwc/terms/institutionCode" value="KU"/>

```

---

<div class="post-metadata">

**Author:** ![willem](https://avatars.discourse-cdn.com/v4/letter/w/898d66/32.png) [@willem](https://speciforum.org/u/willem)\
**Post date:** [August 8, 2025, 12:58pm UTC](https://speciforum.org/t/static-string-in-dwca-query/2758/3 "2025-08-08T12:58:27Z")

</div>

Thanks Andy - very useful.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/1/18a843c97bc32b40e8ad0e035755bc88ffaacaf7.svg) [@system](https://speciforum.org/u/system)\
**Post date:** [August 15, 2025, 12:58pm UTC](https://speciforum.org/t/static-string-in-dwca-query/2758/4 "2025-08-15T12:58:44Z")

</div>

Closed on August 15, 2025, 12:58pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
