Categories
- All Categories
- 86 Oracle Analytics News
- 7 Oracle Analytics Videos
- 14.1K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 48 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations Gallery
- 2 Oracle Analytics Data Visualizations Challenge
- 4 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
Change wildcard example code
Summary
Change wildcard example code
Content
Hello community,
I'm found the following wildcard code on a website and I'm using it to find a specific group element.
<? LK_NAME[starts-with(../LK_CODE,getVariable)])?>
Now I want to change it a bit. I want to find the LK_NAME of the element where LK_CODES equals my variable and not just starts with it. What is the syntax for it?
Is there anything like: <? LK_NAME[equals(../LK_CODE,getVariable)])?>
Thanks for your help
Answers
-
I think this is what ur looking for
https://blogs.oracle.com/xmlpublisher/wildcard-filtering-continued
0 -
Hey, I have already seen that link. Unfortunately it's not what I'm looking for. I want to test for exact equality.
Example: When I have a code '-' and there are some entries '-de' and '-en'. CONTAINS and STARTSWITH give me true in both cases but I want to get a false here.
0 -
please post your requirement with clear example.
0 -
Why to use a function any way?
Just go like
<?if: LK_CODE = getVariable?>
<? LK_NAME?>
<?end if?>
0