Skip to content

Add Sample Data #8

@hunterwilliams

Description

@hunterwilliams

Right now the only way to add sample data is to modify the existing adhoc documents and run this code:

xdmp:document-insert('/sample.xml',
<sample:sampleDoc xmlns:sample="http://sample.com">
  <sample:database>SAMPLE</sample:database>
  <sample:uri>/sample/sample-uri</sample:uri>
  <sample:type>add</sample:type>
  <sample:date>2014-04-10T23:52:39.335561-04:00</sample:date>
  <sample:collection>SAMPLE-COLLECTION</sample:collection>
  <sample:oldElement/>
</sample:sampleDoc>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions