# `RustyXML.SweetXpath`
[🔗](https://github.com/jeffhuen/rustyxml/blob/v0.2.3/lib/rusty_xml.ex#L80)

Struct representing an XPath expression with modifiers.

This struct is compatible with SweetXml's `%SweetXpath{}` struct and is
created by the `~x` sigil.

# `t`
[🔗](https://github.com/jeffhuen/rustyxml/blob/v0.2.3/lib/rusty_xml.ex#L88)

```elixir
@type t() :: %RustyXML.SweetXpath{
  cast_to: nil | :string | :integer | :float,
  is_keyword: boolean(),
  is_list: boolean(),
  is_optional: boolean(),
  is_value: boolean(),
  namespaces: [{binary(), binary()}],
  path: binary(),
  soft_cast: boolean(),
  transform: (term() -&gt; term()) | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
