Not logged in : Login
(Sponging disallowed)

About: Making an XML element with the entity objects as parameters     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : foaf:Document, within Data Space : linkeddata.uriburner.com:28898 associated with source document(s)

AttributesValues
type
Title
  • Making an XML element with the entity objects as parameters
content
  • Example 9 This example creates an 'FullAddress' element with four attributes, three of them ('PostalCode', 'Address', 'City') are produced by XMLATTRIBUTES, and the fourth attribute - 'country' is calculated by xquery_eval 'Region' subelement, that is produced by xtree_doc text content, that is produced by xpath_eval 'emp' subelement with text content from the column "LastName", that is created by nested XMLELEMENT select XMLELEMENT ('FullAddress', XMLATTRIBUTES ( "PostalCode", "Address", "City"), xtree_doc ('<Region>WA</Region>'), xquery_eval('//@country', xtree_doc('<a country="USA"/>')), xpath_eval('//@Phone', xtree_doc('<a Phone="(206) 555-9857"/>')), XMLELEMENT('emp', "LastName")) from "Demo"."demo"."Employees"
has container
description
  • XML element with the entity objects as parameters
dcterms:created_at
  • Fri, 27 Dec 2019 14:12:54 GMT
content:encoded
  • Example 9 This example creates an &#39;FullAddress&#39; element with four attributes, three of them (&#39;PostalCode&#39;, &#39;Address&#39;, &#39;City&#39;) are produced by XMLATTRIBUTES, and the fourth attribute - &#39;country&#39; is calculated by xquery_eval &#39;Region&#39; subelement, that is produced by xtree_doc text content, that is produced by xpath_eval &#39;emp&#39; subelement with text content from the column &quot;LastName&quot;, that is created by nested XMLELEMENT select XMLELEMENT (&#39;FullAddress&#39;, XMLATTRIBUTES ( &quot;PostalCode&quot;, &quot;Address&quot;, &quot;City&quot;), xtree_doc (&#39;&lt;Region&gt;WA&lt;/Region&gt;&#39;), xquery_eval(&#39;//@country&#39;, xtree_doc(&#39;&lt;a country=&quot;USA&quot;/&gt;&#39;)), xpath_eval(&#39;//@Phone&#39;, xtree_doc(&#39;&lt;a Phone=&quot;(206) 555-9857&quot;/&gt;&#39;)), XMLELEMENT(&#39;emp&#39;, &quot;LastName&quot;)) from &quot;Demo&quot;.&quot;demo&quot;.&quot;Employees&quot;
is container of of
Faceted Search & Find service v1.17_git150 as of Jan 20 2025


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3332 as of Jan 29 2025, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (378 GB total memory, 33 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2025 OpenLink Software