https://bugzilla.wikimedia.org/show_bug.cgi?id=45805

--- Comment #2 from Dan Bolser <[email protected]> ---
{{#get_web_data: url=http://localhost/~dbolser/sources-formatted.xhtml
 | format=xml
 | use xpath
 |
data=description=//@description,TITLE=//@title,spec=//prop[@name='spec']/@value,sourcesdoc=//prop[@name='sourcesDoc']/@value,sources=//prop[@name='sources']/@value,alertMe=//prop[@name='alertMe']/@value
}}

* {{#external_value:description}}
* {{#external_value:TITLE}}
* {{#external_value:spec}}
* {{#external_value:sources}}
* {{#external_value:TITLE}}
* {{#external_value:sourcesdoc}}
* {{#external_value:alertMe}}

Only sourcesdoc and alertMe EVs fail to return values.

The XML looks like this:

<sources>
<source uri="DS_112" title="structure" description="A reference server for
protein structure annotations. Serves 3D coordinates of protein structures.">
<maintainer email="[email protected]"/>
<version uri="DS_112" created="2005-03-21T16:33:59+0000">
<coordinates uri="http://www.dasregistry.org/dasregistry/coordsys/CS_DS7";
source="Protein Structure" authority="PDBresnum"
test_range="1.10.8.10-SSG5-1">PDBresnum,Protein Structure</coordinates>
<capability type="das1:structure"
query_uri="http://das.sanger.ac.uk/das/structure/structure"/>
<prop name="sources" value="valid"/>
<prop name="cors" value="valid"/>
<prop name="error-segment" value="valid"/>
<prop name="structure" value="valid"/>
<prop name="entry_points" value="valid"/>
<prop name="spec" value="DAS/1.6E"/>
<prop name="leaseTime" value="2012-12-13T13:16:00+0000"/>
<prop name="alertMe" value="1"/>
<prop name="sourcesDoc" value="http://das.sanger.ac.uk/das/"/>
<prop name="projectName" value="test for windows"/>
<prop name="projectDesc" value="windows test of image upload"/>
<prop name="projectIcon" value="http://www.dasregistry.org/ProjectIcon?id=86"/>
<prop name="projectHome" value="http://www.google.com"/>
</version>
</source>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to