Hello,Does anyone know how to render a XML using a XPage?
I’d like to format a XML document with a XPages using the datasource and data controls like described below:
<?xml version="1.0" encoding="UTF-8"?><xp:view xmlns:xp=“http://www.ibm.com/xsp/core” xmlns:eg=“http://example.com/xsp/control”>
<xp:this.data>
<xp:dominoDocument var="dataDoc" formName="Some_NotesForm"
action="openDocument">
</xp:dominoDocument>
</xp:this.data>
<xml>
<title>
<xp:someControlThatOutputDatasource
value="#{dataDoc.Title}"></xp:someControlThatOutputDatasource>
</title>
<names>
<xp:repeat value="javascript:return 'some result';" var="var1">
<name>
<xp:someControlThatOutputData value="#{var1.Name}"
id="data01"></xp:someControlThatOutputData>
</name>
</xp:repeat>
</names>
</xml>
</xp:view>
Does anyone know how can I do that?
Id like to use XPage to feed a xml client and it will be ideal for me.