Actions
Bug #5408
closedunable to select attribute with selec processors
Start date:
10/24/2013
Due date:
% Done:
100%
Estimated time:
Description
<view name="OPSCORE_endpoint_downtime" post-processors="disable-post-processor" xmlns:e="http://software.in2p3.fr/lavoisier/entries.xsd"> <connector type="XMLConnector"> <parameter name="content" eval="view('entries_endpoint_downtime')"/> </connector> <processors> <for nodes="/e:entries/e:entry"> <connector type="XMLConnector"> <parameter name="content" eval="view('OPSCORE_endpoints', path())"/> </connector> <processors> <processor type="SelectProcessor"> <parameter name="namespaces"> <entry key="e">http://software.in2p3.fr/lavoisier/entries.xsd</entry> </parameter> <parameter name="nodes">/Endpoint/@in_production</parameter> </processor> </processors> </for> </processors> </view>
dependencies :
<view name="entries_endpoint_downtime"> <info> <category>Hidden</category> </info> <connector type="FileConnector"> <parameter name="path">OPSCORE/resources/xml/entries_endpoint_downtime.xml</parameter> </connector> </view>
entries_endpoint_downtime.xml
<_entries_:entries xmlns:_entries_="http://software.in2p3.fr/lavoisier/entries.xsd"> <_entries_:entry key="in_production"></_entries_:entry> </_entries_:entries>
=> voir fichier attaché pour vue source avec appel :
lavoisier/OPSCORE_endpoint_downtime/Endpoints/NGI/Site[@name='UKI-NORTHGRID-LIV-HEP']/Endpoint[@hostname='hepgrid97.ph.liv.ac.uk']?accept=xml
Files
Actions