XML Prague 2024 Pre-Conference Session
5min
| Juri | @_o@chaos.social |
| Nico | nverwer@rakensi.com |
| Dannes | dannes@exist-db.org |
| Boris | boris@daliboris.cz |
Talk to us
on Slack
15min
VSCode existdb
elevator pitch
5min
controller.xq
restxq
roaster
OAD + QR code
20min
xst upload --include "*.xconf" --verbose --apply-xconf ./data/dictionaries/ /db/apps/exist-db-lucene/data/dictionaries --config .existdb.json
@expression="tei:form[@type=('lemma', 'variant')]/tei:pron"@expression="nav:get-metadata(., 'pronunciation')"
module namespace idx="http://teipublisher.com/index";<module uri="http://teipublisher.com/index" prefix="nav" at="../../index.xql"/>xmldb:reindex('/db/apps/app/data/')xst execute "xmldb:reindex('/db/apps/exist-db-lucene/data/dictionaries')" --config admin.xstrc
<field name="domain" expression="nav:get-metadata(., 'domain')" />
ft:field($item, "domain")
<field name="sortKey" expression="nav:get-metadata(., 'sortKey')" binary="yes" />
ft:binary-field($entry, "sortKey", "xs:string")
<facet dimension="domain" expression="nav:get-metadata(., 'domain')" />
<ref xml:lang="en" type="reversal">many times</ref>
""
//
declare namespace tei = "http://www.tei-c.org/ns/1.0";
let $collection := "/db/apps/exist-db-lucene/data/dictionaries"
let $hits := collection($collection)//tei:entry[
ft:query(., "reversal:although", map { "fields" : "sortKey" } )
]
for $hit in $hits
order by ft:field($hit, "sortKey")
return $hit
declare namespace tei = "http://www.tei-c.org/ns/1.0";declare namespace exist = "http://exist.sourceforge.net/NS/exist";let $collection := "/db/apps/exist-db-lucene/data/dictionaries"let $hits := collection($collection)//tei:entry[ft:query(., "reversal:although")]for $hit in $hits let $expanded := util:expand($hit) return $expanded<ref xml:lang="en" type="reversal"> <exist:match>although</exist:match></ref><gram type="pos" expand="Adjective">adj</gram>
ft:query())
let $options := map {
"facets": map {
"partOfSpeech": ("subst", "v")
}
}
//tei:entry[ft:query(., (), $options)]
xst upload --include "*.xconf" --verbose --apply-xconf ./data/dictionaries/ /db/apps/exist-db-lucene/data/dictionaries --config .existdb.json
20min
ant
maven
gulp-exist
xqsuite
junit
end-to-end
20min
https://qt4cg.org/specifications/xpath-functions-40/Overview.html#func-invisible-xml
fn:invisible-xml(
$grammar as item()? := (),
$options as map(*)? := {}
) as fn(xs:string) as item()invisible-xml() function for eXisthttps://github.com/nverwer/exist/tree/ixml/exist-core
5min
eXist-db 4.x.x, 5.x.x, and 6.x.x require JDK 8
xs:string#1("hello")enjoy your lunch
5min