Hi,

I am working with XML Data (for various reasons had to switch from
JSON to XML -- to integrate better with other apps in my pipeline).

On simile exhibit sites, and elsewhere searching on Google, i didn't
see a whole lot of working examples of Exhibits with XML Data.

If i user exhibit-api.js without explicitly adding xml-importer.js to
my include files, I get an error:
<script type="text/javascript" src="http://api.simile-widgets.org/
exhibit/2.2.0/exhibit-api.js?bundle=true"></script>


Error:
No Importer Found for datatype application/xml


So I include the xml-importer directly:
<script type="text/javascript" src="js/xml-importer.js"></script>

This is my data importer link definition:
<link href="demos.xml" type="application/xml" rel="exhibit/data"
ex:itemTags="demo" ex:labelTags="label" />

And I can trace through the xml-importer.js file -- and that error is
now gone.


However, my exhibit is empty, and the 'scissor' is showing that the
JSON is coming up empty.


My Data is pasted below.

Can anyone see what's wrong with this?  Been staring at this for a day
and unable to see what i have wrong here.

thanks in advance.

-k



<?xml version="1.0" encoding="UTF-8"?>
<demos>
        <demo>
                <label>AAA</label>
                <vms>6</vms>
                <release_date>39923</release_date>
                <retire_date>40288</retire_date>
                <platform_version>D65 SP1</platform_version>
                <retire_note>CURRENT</retire_note>
                <appconfig_id>394</appconfig_id>
                <org>IG</org>
                <custom_demo>AP;Accounts Payable;Invoice Processing;PO 
Processing</
custom_demo>
                <keywords>demos;scenarios</keywords>
                <scriptURI>../docurl</scriptURI>
                <products>xml</products>
                <description>maybe more</description>
        </demo>

        <demo>
                <label>BBB</label>
                <vms>5</vms>
                <release_date>40429</release_date>
                <retire_date>40794</retire_date>
                <platform_version>D6.6</platform_version>
                <retire_note>CURRENT</retire_note>
                <locked>true</locked>
                <appconfig_id>1066</appconfig_id>
                <org>IA</org>
                <org_admin>a1</org_admin>
                <docsURL>../collateral/</docsURL>
                <vmlist></vmlist>
                <systemNav>true</systemNav>
                <products>d1,d3,d5</products>
        </demo>
</demos>


-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to