Sha256: 8e094ac106b2400f12629c71cad6094e947965a0090bbf9351c3318b5822b140

Contents?: true

Size: 258 Bytes

Versions: 2

Compression:

Stored size: 258 Bytes

Contents

for $item in doc("string.xml")//news_item
where contains(string($item/content), "Gorilla Corporation")
return
    <item_summary>
        { concat($item/title,". ") }
        { concat($item/date,". ") }
        { string(($item//par)[1]) }
    </item_summary>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
magic_xml-0.1.1 xquery_use_cases/string/q5.xquery
magic_xml-0.1.0 xquery_use_cases/string/q5.xquery