Hi,

You uncovered some PHP issues (which will hopefully be fixed soon), although the basic problem seems to be that the end of your first call should look like:

..hostname=hostname|network=network}}

-Yaron


On Mon, Apr 13, 2009 at 11:27 AM, Rinaldo DiGiorgio <digitalrinaldo@yahoo.com> wrote:
Hello,

    I am trying to use the external data extension and not making much
progress.

    I have an xml file in my wiki and I am sure it returns xml.




{{#get_external_data:http://slagiron/index.php/Special:XML/file|XML|hostname=1|network=2}}

{{#external_value:hostname}}

{| class="wikitable"
! Host Name

! Network {{#for_external_table:<nowiki/>
{{!}}-
{{!}} {{{hostname}}}
{{!}} {{{network}}} }}
|}

I don't get any output but I do get index errors.

the xml file I point to above

<?xml version="1.0" encoding="UTF-8"?>
<nodes>
<node type="server">
<hostname>s01</hostname>
<ip_address>1.1.1.1</ip_address>
<system_type>:SB6250</system_type>
<network>mynet</network>
</node>
<node type="server">
<hostname>s02</hostname>
<ip_address>2.2.2.2</ip_address>
<system_type>:SB6250</system_type>
<network>mynet</network>
</node>
</nodes>




------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user