In XPath, how to select the id of all <a> nodes that contain x=10 and y=100 in their children (which are at different levels)?
<root>
<a id="1">
<c>
<x>10</x>
<y>100</y>
</c>
</a>
<a id="4">
<c>
<c>
<x>10</x>
<y>100</y>
</c>
</c>
</a>
<a id="6">
<x>20</x>
<y>200</y>
</a>
<a id="7">
<x>10</x>
<y>300</y>
</a>
</root>
Something like this, I would imagine:
//a[.//x=10][.//y=100]/#id
Related
I am using Odoo 11 and am trying to get a report working. I have this code working in Odoo 9 but cant see where the problem is
<?xml version="1.0" encoding= "utf-8"?>
<odoo>
<data>
<t t-name="ds_repair.qweb_ds_repair_template2">
<t t-foreach ="docs" t-as="o">
<div class="page" style="text-align: center;">
<div class="oe_structure"/>
<span><img height="44" width="auto" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYEAAABkCAYAAABgp4yhAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxMAAAsTAQCanBgAACC9SURBVHhe7d0HsDRLVQfw92FOmBNmxJxQMIsZFcGccwQxoYAZFFOVmLBMpaIIBswBxIA5PBVRURBzwhwRM2bx/O53+73+xu7ZmZ3Zu3fvnH/Vv3Z3dkKH0+ecPt3Tfe0Zz3jGTYlEIpHYJm5z/plIJBKJDSKNQCKRSGwYaQQSiURiw0gjkEgkEhtGGoFEIpHYMI4+O+jatWvn3zaJZwneIfgCwf914AqhJVjy+J/B/wr+z/nvfws+Lfgf578vWzkQUM7SswafL/g8QfXmt0//rSnErXK7LI2kToc6VAbvGPyT4MOC/x5MzMBlmJ2ZRuC4oEReNfiCQUrxKmGXEfD9v4PFCFAgfiuH47eMW/FM53y24PMHbxtMI3C9DpXJuwSfEvyqoLpMzEAagcDGjQDl/xHBlwpSgJdJ+S1FKy8UPCNQlL3Pfwn+TfAfg08NMgjl85ig+G8XfOHg8wZf9Pw7Q8AA4DMHnbdVI/DswXsEfyX4QUF1mJiBNAKBjRuBVwjqRr9kkEK8aqiFS0VT/FjCPqgH8E9Bxo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fhDjG3kfXK41Dpm4JeHg5lBArG8jqEfPcMhzIdKlsKsOXVo/usPSYzVSalq2XE1UELw/MKx7CzrAZtfmdZ1edvnc2DV4mBnjCfdQ9H0FNMPeFegp7AOr4Gep55y8j0FGiPa6RxTvqm4FhGQI+g9VwcKvVennfJ10XlbYpMttLCIIz1TobnF46hW1bD9l7T/9W5NbtTS7fILcwO6s0GGDbKIXqCvM8yErvQS8uuGUxTwCPHFg6Rl7m47OlbC5bGKFDfvTz3ZsIU9GSCvO6S6TnYJZP+bxlpPZKe14499M47SFmdzx5KQMsyXDUGWiEhx3pdaA1qeD6OeaY9z2mXZ9fzHluhEPdqeTdjntfaXvYYLkv6WmnAKd4yhdOqyzF5KejlZdhbcp9WCAWlfQzKpXWd9A1xSJmkRFvnrMWC0bJqtffCQLesWudvlc2DV40BDbslSISawNfQQFrn7lIgPcOBGuPwOdLUE1LPaimcXuOUXgPZNfy+SAMAlyV9S4wA9DxZiralQB1rORooHNnCLnkZGk6/e0pd+ba85YuQyblo3RvHsLOsBu19Z1nV52+dzYNXkQEC3BOMMbYUWA+8o32eUUiR7HoWAe8pnF2kkFrKYk1chvQtNQKgHvbNB3qWshjDUnlB14+FNi5CJueg9QzchdXKqqUftsxcSrrt3ZRlgfddShrKMyiCMWVQllI2djFnDMA9Kcyx+5d8wD7LGy/BMdOn7Fu9CWU8dylpyqd4zD15gaV5KfKizIYeeg15KONcc59zaJmcgp7CmbOU9OyyCj130fJ/MsiN5hOJRGLDyJ3FEolEYsNII5BIJBIbRhqBRCKR2DDSCCQSicSGkUYgkUgkNow0AolEIrFZ3HTT/wFrpwEuLkyGBgAAAABJRU5ErkJggg==" /></span>
<span style="font-size:24px;"><strong><span t-field="o.x_partner_id"/></strong></span>
<span style="font-size:18px;"><strong><span t-field="o.x_partner_id.mobile"/></strong></span>
</div>
</t>
</t>
</data>
</odoo>
**
If you are trying to create a report view then this will solve the
issue
**
<?xml version="1.0" encoding= "utf-8"?>
<odoo>
<data>
<template id="ds_repair.qweb_ds_repair_template2">
<t t-call="web.html_container">
<t t-foreach ="docs" t-as="o">
<div class="page" style="text-align: center;">
<div class="oe_structure"/>
<span><img height="44" width="auto" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYEAAABkCAYAAABgp4yhAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxMAAAsTAQCanBgAACC9SURBVHhe7d0HsDRLVQfw92FOmBNmxJxQMIsZFcGccwQxoYAZFFOVmLBMpaIIBswBxIA5PBVRURBzwhwRM2bx/O53+73+xu7ZmZ3Zu3fvnH/Vv3Z3dkKH0+ecPt3Tfe0Zz3jGTYlEIpHYJm5z/plIJBKJDSKNQCKRSGwYaQQSiURiw0gjkEgkEhtGGoFEIpHYMI4+O+jatWvn3zaJZwneIfgCwf914AqhJVjy+J/B/wr+z/nvfws+Lfgf578vWzkQUM7SswafL/g8QfXmt0//rSnErXK7LI2kToc6VAbvGPyT4MOC/x5MzMBlmJ2ZRuC4oEReNfiCQUrxKmGXEfD9v4PFCFAgfiuH47eMW/FM53y24PMHbxtMI3C9DpXJuwSfEvyqoLpMzEAagcDGjQDl/xHBlwpSgJdJ+S1FKy8UPCNQlL3Pfwn+TfAfg08NMgjl85ig+G8XfOHg8wZf9Pw7Q8AA4DMHnbdVI/DswXsEfyX4QUF1mJiBNAKBjRuBVwjqRr9kkEK8aqiFS0VT/FjCPqgH8E9BxoDy//vg3wX/IvhX58cYhL8OUjyHAmX+IkHKnnF+6SDj/EJBYSCfQkHPFSzKXy/g0D2By9pA1J1yePng7wffOvjHwcQMpBEIbNwIvHbwsUEe5vGl4eJQ59X3YhBKDwEZgz8L/mbwd4K8Td//OcgYrFVeFBmv/rWCdwy+TvCVgi8XfO4gZV9YlD5sWnDPoQyQIX+z4C8GEzOQRiCQRuCmnwqKMyf+PxgGPQDhIgaBx/nk4C8HnxRcCuVOeamHOwVfIqhXpkeQSn4e3ib4o9e/JqYijUBg40bg1YM/GRRqSOyG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x5KQMsyXDUGWiEhx3pdaA1qeD6OeaY9z2mXZ9fzHluhEPdqeTdjntfaXvYYLkv6WmnAKd4yhdOqyzF5KejlZdhbcp9WCAWlfQzKpXWd9A1xSJmkRFvnrMWC0bJqtffCQLesWudvlc2DV40BDbslSISawNfQQFrn7lIgPcOBGuPwOdLUE1LPaimcXuOUXgPZNfy+SAMAlyV9S4wA9DxZiralQB1rORooHNnCLnkZGk6/e0pd+ba85YuQyblo3RvHsLOsBu19Z1nV52+dzYNXkQEC3BOMMbYUWA+8o32eUUiR7HoWAe8pnF2kkFrKYk1chvQtNQKgHvbNB3qWshjDUnlB14+FNi5CJueg9QzchdXKqqUftsxcSrrt3ZRlgfddShrKMyiCMWVQllI2djFnDMA9Kcyx+5d8wD7LGy/BMdOn7Fu9CWU8dylpyqd4zD15gaV5KfKizIYeeg15KONcc59zaJmcgp7CmbOU9OyyCj130fJ/MsiN5hOJRGLDyJ3FEolEYsNII5BIJBIbRhqBRCKR2DDSCCQSicSGkUYgkUgkNow0AolEIrFZ3HTT/wFrpwEuLkyGBgAAAABJRU5ErkJggg==" /></span>
<span style="font-size:24px;"><strong><span t-field="o.x_partner_id"/></strong></span>
<span style="font-size:18px;"><strong><span t-field="o.x_partner_id.mobile"/></strong></span>
</div>
</t>
</t>
</template>
</data>
</odoo>
I need an XPath query that originates at node 'a' to return some number of contiguously-following 'b' nodes and some number of contiguously-following 'c' nodes. So in this snippet-
<a />
<b />
<b />
<c />
<d />
<e />
<a />
<b />
<b />
<b />
<b />
<c />
it would be-
<b />
<b />
<c />
If I ran it against the first 'a' node and
<b />
<b />
<b />
<b />
<c />
If I ran it against the 2nd.
Ordering matters and I can't find a solution that does not involve unioning separate expressions.
The best bet for this is probably a recursive function something like
declare function local:successors($n as node()) as node()* {
if ($n/following-sibling::*[1][self::b|self::c])
then ($n, local-successors($n/following-sibling::*[1])
else $n
};
local:successors($a)
That's assuming you want XQuery as in your title, not XPath as in the body of your question.
Hello i have a question about XSL . I try to select all images in a directory with starts with filename 'img_'. at the moment my code is this:
<div class="flex-container">
<div class="flexslider">
<ul class="slides">
<xsl:for-each select="entry/fields/*[#type = 'image']">
<img>
<xsl:attribute name="src">
<xsl:value-of select="data/#image"/>
</xsl:attribute>
</img>
</li>
</xsl:for-each>
</ul>
</div>
</div>
what i tried is this
<div class="flex-container">
<div class="flexslider">
<ul class="slides">
<xsl:for-each select="entry/fields/*[#type = 'image' contains( ., 'img_' )]">
<li>
<img>
<xsl:attribute name="src">
<xsl:value-of select="data/#image"/>
</xsl:attribute>
</img>
</li>
</xsl:for-each>
</ul>
</div>
</div>
Can anyone help?
I hope its the right form to ask here .
Greetings
It seems, you just want to filter those images which are present, without breaking any link. So, you should use java extension to make it happen because XSLT only is not sufficient. Use something like:
<xsl:template match=file">
<xsl:variable name="file" select="resolve-uri(#name, base-uri(.))"
as="xs:string"/>
<xsl:if test="not(file:exists(file:new($file)))">
<xsl:value-of select="#name"/><xsl:message>file missing /
incorrect name</xsl:message>
</xsl:if>
</xsl:template>
I may get further information from http://www.altova.com/list/xsl-list/200906/msg1000300010.html
I want two 'menus' on my page, but when I add a div next to my leftmenu (where I didn't use div but pictures) I get ugly space between my pictures.
My current code is:
<html>
<head>
<title>Welcome to Nielyboyken</title>
</head>
<body bgcolor="grey">
<br>
<a href="http://zeldauniverse.net">
<img src="http://i1.minus.com/jbg3tjE57KYsx1.png" />
</a>
<a href="">
<img src="http://i.minus.com/ip2vEndNDv7vj.png" />
</a><text-align:"right">
<iframe src="http://free.timeanddate.com/clock/i3qoeq8q/n48/szw135/szh135/hoc000/hbw12/hfc000/cf100/hgr0/hcw1/fas20/facfff/fdi88/mqc0033cd/mqs3/mql5/mqw2/mqd74/mhc0033cd/mhs4/mhl4/mhw2/mhd76/mmcf90/mml4/mmw1/mmd74/hhc666/hmc666" frameborder="0" width="137" height="137"></iframe>
</font>
<div style="width:1340px; height:20px; background-color:black;">
Contact
[Register]
[Login]</font>
</div>
<center>
<font style="font-family: Fixedsys;font-size: 35px;color:blue">Welcome to my personal site!</font>
</center>
<center><font style="font-family:Fixedsys,;color:white">Welcome! Notice that this is not a forum site but just a personal site.</font></center>
<div id="LeftMenu">
<table>
<img src="http://i5.minus.com/iI7VEHhLP3WyV.png" /> <br>
<a target="_blank" href="http://minus.com/lJMgzKG1FFv2v">
<img src="http://i.minus.com/jJMgzKG1FFv2v.png" border="0"/>
</a>
<div style="width:50px; height:50px; color:red;" </div> <br>
<a href="http://zeldauniverse.net">
<img src="http://i.minus.com/ibfBWr7hEsMtsT.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://youtube.com">
<img src="http://i.minus.com/ib0OadHbWfnpew.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://twitter.com">
<img src="http://i.minus.com/iMNcGJ5Bjwvx4.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://facebook.com">
<img src="http://i.minus.com/ibhDDFKmGlL4rk.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<img src="http://i4.minus.com/i6nJ7Pg8kUfqo.png" /> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="page2test.html" >
<img src="http://i.minus.com/iFNcJv4UvSdye.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="aboutzu.html">
<img src="http://i.minus.com/ishbphpEbNRi2.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://twitter.com/nielyboyken">
<img src="http://i.minus.com/ihJnSHKv3vAco.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://www.zeldauniverse.net/forums/members/5390370-nielyboyken.html">
<img src="http://i.minus.com/ibdZgDlK1H5NLP.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="youtube.com/nielyboyken">
<img src="http://i.minus.com/iGZahFuxuc349.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" />
</table>
</div>
</body>
</html>
Does someone know how to fix it?
You should use CSS. HTML is going to leave white space unless you explicitely define where you want them in your DIVs. Much easier to use a CSS template, and format with that. You will have ability to "stick" things in place with CSS.
http://www.w3schools.com/css/
OR
You could use a 1x 2 table. and then insert each element inside the table. Then they would be side by side. Define Column properties, etc...
You should really Google the formatting of this stuff before you ask on here...
I want to have a word like table of content in telerik radeditor.
I have enabled it for editing list items,so inside sharepoint's list item dispform,the table of contents should work by scrolling down to correct title.
I tried adding a snippet using anchor tags as below ,but it opens the link in a new window in dispform.
Any ideas?
Thanks
<snippet name="Table of Content">
<![CDATA[
One
<br/>
<a href="#two" >Two</a>
<br/>
<a href="#three" >Three</a>
<br/>
<a href="#four" >Four</a>
<br/>
<a href="#five" >Five</a>
<br/>
<a href="#six" >Six</a>
<br/>
<a href="#seven" >Seven</a>
<br/>
Eight
<br/>
Nine
<br/>
<a href="#ten" >Ten</a>
<br/>
<a name="one" />
<h1>This is number One</h1>
<br/>
<a name="two" />
<h1>This is number Two</h1>
<br/>
<a name="three" />
<h1>This is number Three</h1>
<br/>
<a name="four" />
<h1>This is number Four</h1>
<br/>
<a name="five" />
<h1>This is number Five</h1>
<br/>
<a name="six" />
<h1>This is number Six</h1>
<br/>
<a name="seven" />
<h1>This is number Seven</h1>
<br/>
<a name="eight" />
<h1>This is number Eight</h1>
<br/>
<a name="nine" />
<h1>This is number Nine</h1>
<br/>
<a name="ten" />
<h1>This is number ten</h1>
<br/>
]]>
</snippet>