Filter on multiple elements
Hi,
I have a message broker channel and I have processes subscribing to that channel. I was wondering if there was anyway I could have the subscribing processes filter on multiple elements of an XML document? For example, if the xml looked like this:
<aaa>
<bbb>bbb</bbb>
<ccc>ccc</ccc>
</aaa>
Now I want the process to only accept messages where element <bbb> = "bbb" && <ccc> = "ccc". Is there any way to do this? I looked and I couldn't find a way, I was hoping maybe someone could either tell me yes or no.
Thanks for you help.
Hello,
if I remember correctly, the filter can be any valid XPath statement, which returns either true or false. You can always switch to the source view and edit the filter statement manually.
-Kai
Similar Messages
-
How to get multiple elements into one element as multiple occurences
I can't figure out how to do this. I have an input message that has multiple elements and I need to take those elements and copy them into one element with each new element going in as a new occurence or instance. For example
I have this input under one parent node.
element1
element2
element3
element4
and this is the output I need
Node
Element1[0]
Element2[1]
Element3[2]
Element4[3]
The input XML looks like this
Payload
Element1
Element2
Element3
and the output XML needs to look like this
Payload
Element.
Thanks in advanceHow about this.
Input XML:
<Row>
<Column1>TOTAL</Column1>
<Column_9_2_2008>900</Column_9_2_2008>
<Column_9_2_20082>890</Column_9_2_20082>
<Column_9_3_2008>52</Column_9_3_2008>
<Column_9_4_2008>0</Column_9_4_2008>
<Column_9_4_20082>0</Column_9_4_20082>
<Column_9_5_2008>0</Column_9_5_2008>
<Column_9_5_20082>0</Column_9_5_20082>
<Column_9_8_2008>0</Column_9_8_2008>
<Column_9_8_20082>0</Column_9_8_20082>
<Column_9_9_2008>0</Column_9_9_2008>
<Column_9_9_20082>0</Column_9_9_20082>
<Column_9_10_2008>0</Column_9_10_2008>
<Column_9_10_20082>0</Column_9_10_20082>
<Column_9_11_2008>0</Column_9_11_2008>
<Column_9_11_20082>0</Column_9_11_20082>
<Column_9_12_2008>0</Column_9_12_2008>
<Column_9_12_20082>0</Column_9_12_20082>
<Column_9_15_2008>0</Column_9_15_2008>
<Column_9_15_20082>0</Column_9_15_20082>
<Column_9_16_2008>0</Column_9_16_2008>
<Column_9_16_20082>0</Column_9_16_20082>
<Column_9_17_2008>0</Column_9_17_2008>
<Column_9_17_20082>0</Column_9_17_20082>
<Column_9_18_2008>0</Column_9_18_2008>
<Column_9_18_20082>0</Column_9_18_20082>
<Column_9_19_2008>0</Column_9_19_2008>
<Column_9_19_20082>0</Column_9_19_20082>
<Column_9_22_2008>0</Column_9_22_2008>
<Column_9_22_20082>0</Column_9_22_20082>
<Column_9_23_2008>0</Column_9_23_2008>
<Column_9_23_20082>0</Column_9_23_20082>
<Column_9_24_2008>0</Column_9_24_2008>
<Column_9_24_20082>0</Column_9_24_20082>
<Column_9_25_2008>0</Column_9_25_2008>
<Column_9_25_20082>0</Column_9_25_20082>
<Column_9_26_2008>0</Column_9_26_2008>
<Column_9_26_20082>0</Column_9_26_20082>
<Column_9_29_2008>0</Column_9_29_2008>
<Column_9_29_20082>0</Column_9_29_20082>
<Column_9_30_2008>0</Column_9_30_2008>
</Row>
Output XML:
<Total>
<Payload>900</Payload>
</Total>
<Total>
<Payload>890</Payload>
</Total>
<Total>
<Payload>52</Payload>
</Total> -
Can I add multiple elements on a single line?
Can I add multiple elements on a single line?
Not yet. But this is something we plan to support. You can vote on this idea here: http://forums.adobe.com/ideas/1046
We use this to help prioritize our work.
Randy -
How to link a specific panel with spry multiple element sliding
How to everybody to the forum, I've searched into this forum but maybe this mine is a particular case...
I've a html page with 4 different spry multiple sliding panels, named "primo" "secondo" terzo" "quarto", and all worked fine :-)
When you go to this page the first you can see is "primo" (default).
But the problem/question is this: If i want to send an email link to my page and want to see the "terzo" panel. how???
I've try to search many examples but none one of them meet me.
This is an example of this page called test.html
Many thanks to all wants help me
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Copyright (c) 2006-2007. Adobe Systems Incorporated. All rights reserved. -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Spry Multiple Elements Sliding Sample</title>
<link href="http://labs.adobe.com/technologies/spry/css/samples.css" rel="stylesheet" type="text/css" />
<script src="http://labs.adobe.com/technologies/spry/includes/SpryEffects.js" type="text/javascript" ></script>
<script src="http://labs.adobe.com/technologies/spry/includes/SpryURLUtils.js" type="text/javascript" ></script>
<style type="text/css">
.demoDiv{
height: 150px;
overflow: hidden;
.hiddenElement{
display:none;
/* Fix IE floating bug */
position: absolute;
top: 180px;
</style>
<script type="text/javascript">
var observer = {};
observer.nextEffect = false;
observer.onPostEffect = function(e){
if (this.nextEffect)
var eff = this.nextEffect;
setTimeout(function(){eff.start();}, 10);
this.nextEffect = false;
function pannelli(currentPanel)
// The list of all the panels that need sliding
var panels = ['slide1', 'slide2', 'slide3', 'slide4'];
var opened = -1;
// Let's check if we have an effect for each of these sliding panels
if (typeof effects == 'undefined')
effects = {};
for (var i=0; i < panels.length; i++)
if (typeof effects[panels[i]] == 'undefined'){
effects[panels[i]] = new Spry.Effect.Blind(panels[i], {from: '0%', to: '100%', toggle: true});
effects[panels[i]].addObserver(observer);
if (effects[panels[i]].direction == Spry.forwards && currentPanel != panels[i])
opened = i;
//prevent too fast clicks on the buttons
if (effects[panels[i]].direction == Spry.backwards && effects[panels[i]].isRunning)
observer.nextEffect = effects[currentPanel];
return;
if (opened != -1)
observer.nextEffect = effects[currentPanel];
effects[panels[opened]].start();
else if (effects[currentPanel].direction != Spry.forwards)
effects[currentPanel].start();
</script>
</head>
<body onload="pannelli('slide1');">
<h3>Spry Multiple elements sliding</h3>
<a href="#" onclick="pannelli('slide1');" value="Slide 1">SLIDE 1</a>
<a href="#" onclick="pannelli('slide2');" value="Slide 2">SLIDE 2</a>
<a href="#" onclick="pannelli('slide3');" value="Slide 3">SLIDE 3</a>
<a href="#" onclick="pannelli('slide4');" value="Slide 4">SLIDE 4</a>
<br />
<div id="slide1" class="hiddenElement">
<div class="demoDiv" style="background-color: yellow;">
<h4>Primo</h4>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et
justo duo dolores et ea rebum. Stet clita kasd gubergren, no
sea takimata sanctus est Lorem ipsum dolor sit amet.
</div>
</div>
<div id="slide2" class="hiddenElement">
<div class="demoDiv" style="background-color: pink;">
<h4>Secondo</h4>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et
justo duo dolores et ea rebum. Stet clita kasd gubergren, no
sea takimata sanctus est Lorem ipsum dolor sit amet.
</div>
</div>
<div id="slide3" class="hiddenElement">
<div class="demoDiv" style="background-color: magenta;">
<h4>Terzo</h4>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et
justo duo dolores et ea rebum. Stet clita kasd gubergren, no
sea takimata sanctus est Lorem ipsum dolor sit amet.
</div>
</div>
<div id="slide4" class="hiddenElement">
<div class="demoDiv" style="background-color: green;">
<h4>Quarto</h4>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et
justo duo dolores et ea rebum. Stet clita kasd gubergren, no
sea takimata sanctus est Lorem ipsum dolor sit amet.
</div>
</div>
<br />
Test per collegamenti esterni<br /><br />
<a href="test.html?">vai al pannello I°</a> |
<a href="#">vai al pannello II°</a> |
<a href="#">vai al pannello III°</a> |
<a href="#">vai al pannello IV°</a>
</body>
</html>silemma wrote:
else if (effects[currentPanel].direction != Spry.forwards)
effects[currentPanel].start();
</script>
</head>
<body onload="pannelli('slide1');">
Change the above to
else if (effects[currentPanel].direction != Spry.forwards)
effects[currentPanel].start();
var params = Spry.Utils.getLocationParamsAsObject(); //get the URL parameter
if (params.slide) { // if the slide parameter exists
var slide = 'slide'+params.slide; // slide = slide+slide parameter
} else { // otherwise
slide = 'slide1'
</script>
</head>
<body onload="pannelli(slide);"> <!-- open the nominated slide -->
Then when calling the page use the following notation: http://localhost/test/test.html?slide=3 where ?slide=3 is the third slide
I hope this helps.
Ben -
How to remove "Blue filter" from multiple images in the History Panel
I am using Lightroom 4.3 on Windows 7 pc. I have a collection with approximately 650 images. I was working in the collection and had all the images selected. Somehow I inadvertently must have hit a keyboard shortcut that effected all the images. All of the images are negatively effected and they now look terrible. When I go to the History Panel, all the images have "blue filter" as their most recent entry. If I select one image and go back to the step before the "blue filter" everything looks fine again. My problem is I have this effect in 650 images. When I try and do the change in one image and then synch to the rest, I don't know what box to check to remove this "blue filter" that has been added to all the images. I know I can do them one by one, but with 650 images, it's a long and tedious process. Any way I can remove the "blue filter" from multiple images in a collection?
Thanks,
Matthew KrausIf you’ve just done it, then an Undo operation would reverse things on all the images, I think. But if it took you a while to see the problem, then you might have done something to cancel the undoability.
Isn’t Blue Filter a built in LR preset that modifies the HSL settings: http://kb2.adobe.com/community/publishing/924/cpsid_92473.html
Open the HSL panel and step back into History on one of the affected images so the effect of the Blue Filter preset has been undone and notice what HSL sliders change, and then if the 650 images DON’T already have any HSL adjustments you should be able to sync JUST the pre-Blue-Filter HSL adjustments (perhaps all zeros) to the other 650 images. -
Polarzing filter in Photoshop Elements 9?
How do I simulate a polarzing filter in photoshop elements 9?
Unfortunately, the effect of a polarizing filter can't be really simulated in Elements or any other editing software, contrary to most other kinds of glass filters, coloured or with gradients.
-
Add multiple elements to a tree control at once
I am using a Tree Control to display customer and certificate information. However, adding 500 customer names or certificate numbers to the tree control one at a time takes for ever (well, 30000 ms). Is there any way to add multiple elements to a tree all at once, or is the only solution to use a listbox with 'forward' and 'back' buttons ?
thanks,
michaelHi Michael
I don’t believe there is a way to supply a list of child items to a parent item, they have to be added incrementally. One way that you could speed this process up is to design your code such that only when you expand an item does it add the child items.
If you want an even higher update rate have a look at using the ActiveX TreeView control, you will find an example called Family Tree.vi in the LV examples.
I'll do up some code that makes using both of the controls more efficient if enough people want it.
Kurt Friday
www.sciware.com.au -
Hi,
How do I filter on multiple values / labels within a large data set within a Pivot Table which points to a Power Pivot Model. I am current using Excel 2010 64 bit. I intend to empower users to achieve this by simply using the Excel user interface, not by
using Excel formula or DAX. Please find the attached screen shot as a worked example, also in my real life example not all the values are available in the drop down. You can't use a slicer for the same reason as you can't use a drop down. I guess what I was
hoping for is for the user to be able to enter AND or OR within the associated dialog box. Is there any way around this?
Kind Regards,
Kieran.
Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/Hi
This is the forum to discuss questions about Microsoft Excel develop (VBA, Automation). For your question is more about pivot table features for Excel, I will move
this thread to the TechNet forum for Excel.
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share
their knowledge or learn from your interaction with us.
Thank you for your understanding.
Best Regards
Lan
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I have external list where i want to apply multiple filter for every column like we do in Excel spreadsheet - we can filter a spreadsheet column by selecting multiple checkbox for every column. I am using Sharepoint 2010
Is this possible in sharepoint 2010? Any idea how to acheive that?
Thanks in advance.Hi Rahul,
According to your description, my understanding is that you want to use filter with multiple values on a column of an external list in SharePoint 2010.
Per my knowledge, there is not an OOB way to achieve it. As a workaround, you can custom the web part to implement it. There is an articles for your reference:
http://blogs.telerik.com/aspnet-ajax/posts/13-11-05/add-excel-like-multi-select-filtering-to-your-asp.net-datagrid
In addition, you can use a third party solution to achieve it, please take a look at:
http://abilitics.com/Blog/index.php/sharepoint-improved-grids-with-excel-like-inline-editing/
http://social.technet.microsoft.com/forums/sharepoint/en-US/3d19b9d3-d394-4af9-9e8e-2dee70b50540/filter-column-with-multiple-filter-values-in-sharepoint-list
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
How do you apply an EQ filter to multiple clips at once?
i need to EQ a VO and rather than apply the filter to each clip serparately, is there a way to apply one filter to multiple clips at once?
thanks
carlapply your eq effect to one of the clips and adjust settings as required, then select every other clip that you want to apply this eq to, and then drag and drop the effect (from the viewer) onto one of those selected clips ... it will apply to all those selected.
another way, if its the only effect on the clip, would be to apply and adjust the effect, select the clip with the applied effect and press cmd-c to copy, then select all the other clips you want to add the eq to and press opt-v to paste attributes ... in the window select audio filters (only) -
EText - Multiple elements in the same record
I was wondering if it is possible to put multiple elements within a single record using eText. For example
<SELECTION>
<CRITERIA>
<INVOICE>INV_NUM1</INVOICE>
<INVOICE>INV_NUM2</INVOICE>
<INVOICE>INV_NUM3</INVOICE>
<INVOICE>INV_NUM4</INVOICE>
</CRITERIA>
</SELECTION>
Produces the following output
INV_NUM1 INV_NUM2 INV_NUM3
INV_NUM4<NEW RECORD> FILE_HEADER
1 25 Alpha R, ‘ ‘ Invoice[1] || Invoice[3]|| Invoice_number
26 25 Alpha R, ‘ ‘ Invoice[2]
51 25 Alpha R, ‘ ‘ Invoice[3]
You are in the record FILE_HEADER and at level <LEVEL> Invoice.
so any element is accessible under or above is available , like above Invoice_number is accessible if that is available under <INVOICE> -
Applying one video filter to multiple clips
How do I apply just one video filter to multiple clips on a timeline in FCP7? "Copy and paste attributes" does not give me the control to select just one filter to apply, for example there is a color corrector and sharpen filter in the copied clip and all I want to paste is sharpen.
Double click on a clip on the timeline that has the sharpness filter with the settings you want to apply to additional clips.
When that clip has loaded to the viewer, click on the filters tab. You will see a list of all the filters you have applied.
Now, on the timeline, select all the clips you want to apply that filter to (you can hold down the Command key while clicking on the clips to select multiple clips).
Once the destination clips are selected, move your cursor to the Viewer window Filters tab display, and click down on the Sharpness filter and drag it to any one of the selected clips on the timeline.
It will be applied to all clips.
MtD -
Why filter causes multiple identical images in gridview to display in literoom 4.3?
I have not been able to find why multiple identical images are displaying in gridview when filters are applied. There is only one image in the folder. This obviously makes it difficult to apply images to keywords.
I simply can't find the reason. Neither is there anything in help on this issue.BenMarkus
Third request for help regarding the problem detailed below.
Mar 16, 2013 1:44 PM in reply to Community Help
Report
I am in the process of organizing my Literoom images and filter displays
MULTIPLE IDENTICAL IMAGES, under METADATA STATUS changed. .
Computer info - Literoom 4.3, windows 7, some 55,000 images on the hardrive, one
catalog used.
When I go to folders, and click on J drive which holds these images, they all
come up if filter is off of course. Now using metadata I search on a date, a
camera, lense, etc. But I just want to find all of my images on a particular
day. I can find those with no problem. My problem is that I may have 2 or more
identical images display in grid and view as well as film strip. Looking up
metadate status I find that these images are CHANGED. I understand that status,
but there is no way that these multiple images would result from my work.
I searched for multiple files located in multiple folders - NOT THE CASE. What
is creating those multiple files, they are identical as to date, how they look,
etc?
If I go to CATALOG, and work with the all the images there, found at the top of
course, I get the same functionality, BUT THE MULTIPLE IMAGES ARE ABSENT.
I can't find the reason for this in any help. I would appreciate very much some
one telling me why this is takes place. It makes it difficult to keyword on
images on a certain date, because of the multiple files.
Filters are a powerful tool for organizing collections and keywords - my problem
is not using filters, but understanding why multiple images.
Further investigation this problem is found in any place - Catalog, or folder.
Believe me this is a PROBLEM. I need to find a live person somewhere in the
vast ocean of helps that can answer this question. I don't have a problem
understanding how to use it, I JUST WANT TO KNOW WHY MULTIPLE IMAGES.
Can you or someone in Adobe answer my question. I just want an answer. Say I
payed my money why can't it work properly.
Ben Lamfers -
Design multiple elements in the same row
hi,
i am new to web dynpro java. how to design multiple elements in the same row. ie a textfield and inputfield in the same row in form design layout.
thanxHi Viral Patel,
To design multiple elements in the same row. Follow below Steps
1.) Open your View --> Select Layout Tab --> In the Outline Explorer --> There will be a Default " RootUIElementContainer " --> Select it --> Right Click & Select Insert Child Option --> A new Window appears --> Select TransparenContainer & Press Finish --> Now Select TransparentContainer --> Right Click & Select Insert Child Option --> Add TextView and Press Finish --> Similarly add InputField to the newly added TransparentContainer.
---> Now to add above two UI Elements in the same row in form design layout --> Select Newly added TransparentContainer --> In the Properties Change layout Property to GridLayout & set colCount --> 2 .
It will make the above two UI Elements in the same Row
With Regards,
Roop Kumar. -
Radial Blur (spin) filter on multiple selections
Is there any way to make this filter operate separately on multiple small selections? For example, if I want to apply the filter to many individual stars on an image of the night sky, I can easily make a selection of all the bright stars in the image, but when I apply the radial-spin filter, it operates on the total aggregated selection, rather than separately on the small selection area around each star.
Thanks for that suggestion. I should have explained though that I'm not trying to animate or add sparkles the image. I'm using the older version of the radial filter to make individual star images smoother and more circular (rather than current egg-shaped). Applying the filter to a small circular selection around a single star works well, but it's not practical to repeat the process very many times to apply it to every star. Although Noel's filter doesn't do quite what I want, it does address the problem of applying the filter across multiple centres .... so there is hope!
Maybe you are looking for
-
Error in compiling Photoshop CC 2014 sample project
Hi, I am trying to compile SDK sample project "outbound". but it is showing errors, as "Parse Issue: Unknown type name 'DialogPtr' " in DialogUtilities.h . DialogUtilities.h file is in "Adobe Photoshop CC 2014:photoshopsdk:pluginsdk:samplecode:common
-
THis is what I did, but when I get to sync, it won't sync.....what do I doLynnLynn Preparation Before you connect any device to a new library go to the Devices tab of the the preferences panel via Edit > Preferences (Windows) or iTunes > Preferences
-
Problem while creating a Sales Order from RFC
Dear All, I get an error ( Errror ID "TD" Number "600" ) "Text XXXXXXXXXX000001 ID X106 language EN not found" whenever I try to create a Sales Order for a particular Customer and Material. But when I create Manually using VA01 for the same details,
-
Can any one tell me How can I handle internal error in smartforn
Hi, How can I handle internal error in smartforn, what type of problem can be. Regards chandra
-
How to use two values for a constant in update rule..
Hi, I have to make a update rule for Fiscal year variant. and I have to assign two values Z4 and FW as constant to it. Please suggest me any idea. As I think at a time we can give only one constant value to a update rule... Thanking you.. Saurabh Tiw