User:Alex skene/scratchpad/more ext: Difference between revisions
From FOIwiki
Jump to navigationJump to search
Alex skene (talk | contribs) |
Alex skene (talk | contribs) |
||
Line 7: | Line 7: | ||
|format=xml | |format=xml | ||
|use xpath | |use xpath | ||
|data=Text1=/ | |data=Text1=//legislation//primary//body//title | ||
}} | |}} | ||
{{#for_external_table:<nowiki/> | {{#for_external_table:<nowiki/> |
Latest revision as of 02:00, 18 October 2012
try xml
{{#get_web_data: url=http://www.legislation.gov.uk/ukpga/2000/36/section/11/data.xml |format=xml |use xpath |data=Text1=//legislation//primary//body//title |}}
{{#for_external_table:
- X {{{Text1}}}
}}
- the legislation xml doesn't meet the SMW extension's format v well, so won't e able format properly