Embedded XML

Previous Next

 

 

Some USoft Blend directives are designed to contain and return a subsystem of XML elements referred to as embedded XML.

Embedded XML is a specialised use of XML. It is specific to the USoft Blend framework. In each case, embedded XML has the structure of an XML document: it contains a single top-level node (the document node).

Example

This example shows XML embedded in a pc:Dialog element.

<pc:Dialog>
   <Form w="250">
      <Title>USoft Blend dialog</Title>
      <Label dx="5" dy="10" w="40" >This is a USoft Blend dialog.</Label>      
      <Button dy="20" newline="true"><Result>OK</Result>OK</Button>
   </Form>
</pc:Dialog>

 

 

collapseEmbedded XML as input
collapseEmbedded XML as output
collapseEmbedded XML as output, changing: pc:return
collapseEmbedded XML as output, referring to: assign:variable
collapseEmbedded XML as output, automatically suppressed
collapseEmbedded XML as a variable set: pc:defs

 

 

See also

Guide to expressions and data types

         Literal expressions

                 Dates

                 string literals

         Path expressions

         XML expressions

                 Embedded XML

         XPath expressions

                 Node set expressions

                 Booleans

                 Strings

                 Numbers

                 Function calls

                 Variable references

                 Implicit XPath datatype conversion

                 Evaluated expressions vs. literals

         SQL expressions