All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencms.xml2json.custom-test.xml Maven / Gradle / Ivy

Go to download

OpenCms is an enterprise-ready, easy to use website content management system based on Java and XML technology. Offering a complete set of features, OpenCms helps content managers worldwide to create and maintain beautiful websites fast and efficiently.

The newest version!
<?xml version="1.0" encoding="UTF-8" ?>
<entries>
    <entry name="input">
    <![CDATA[
    
<?xml version="1.0" encoding="UTF-8"?>

<XjParents xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="opencms://system/modules/org.opencms.test.xml2json/schemas/xjparent-custom.xsd">
  <XjParent language="en">
    <Text>text1</Text>
    <OptText>hello</OptText>
    <MultiText>test3</MultiText>
    <MultiText>test4</MultiText>
    <SingleNested>
        <Text>hello world</Text>
    </SingleNested>
    <MultiNested>
        <Text>foo</Text>
    </MultiNested>
    <Choice>
        <Red>1</Red>
        <Green>2</Green>
    </Choice>
    <Choice>
        <Red>3</Red>
        <Red>4</Red>
    </Choice>
    <Choice>
        <Green>5</Green>
    </Choice>
  </XjParent>
</XjParents>

    
    ]]>
    </entry>
    <entry name="output">
    <![CDATA[
        { 
            "Text" : "text1" 
        }
    ]]>
    </entry>
</entries>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy