Search on an xml property?

Can I / how can I search for xml documents that contain the USD in the example below? The within syntax only seems to work if it is a tag.
<?xml version='1.0'?>
<money currency="USD">12.34</money>
null

Brian
First, I'm assuming that you are storing the XML unparsed, as if cannot parse the element money due to the fact that it contains the currency attribute.
Have you enabled the XmlSection Searching in intermedia text ?

Similar Messages

  • Variable values in composite.xml property

    Hi, i've got the similar proble to: variable values in composite.xml property
    Static value for property
    <property name="oracle.webservices.auth.password" type="xs:string"
    many="false" override="may">admin</property>
    <property name="oracle.webservices.auth.username" type="xs:string"
    many="false" override="may">admin</property>
    Expect result:
    <property name="oracle.webservices.auth.password" type="xs:string"
    many="false" override="may">$variable</property>
    <property name="oracle.webservices.auth.username" type="xs:string"
    many="false" override="may">$variable</property>
    i've probe the suggestion but cant get the specific solution.... may soneon can't help me!!

    Hi
    Thank you for the reply, I also would like to use the DVM solution to get the dynamic values, but the problem is how should I use this variable after this variable get the value from DVM?
    Does it have a property to override "oracle.webservices.auth.username" property or how could I use "oracle.webservices.auth.username" to get the variable value?
    I'm not sure if you understand my question, feel free to let me know.
    Thanks again for your reply.

  • What is the storage limit for XPath search in 9i XML TYPE??

    Dear All,
    I stored many large XML documents in 9i XML TYPE, now I want to using extract() function to XPath search the stored document.
    The problem is that when I using extract() function, an error come out:
    ORA-19011: Character string buffer too small
    How can I solve it??
    Beside, I try to search some smaller XML documents, I can get the XML data using extract() in SELECT clause, but I still have ORA-19011 error if I using extract() in WHERE clause.
    Thanks a lot!!
    Regards,
    Thomas Lam

    By default in Firefox 4, a site can use up to 50MB of IndexedDB storage. If it tries to use more than 50MB, Firefox will ask the user for permission:
    http://mxr.mozilla.org/mozilla-central/source/modules/libpref/src/init/all.js#101
    In Firefox for mobile devices (Google Android and Nokia Maemo), Firefox will ask for permission if a site tries to use more than 5MB:
    http://mxr.mozilla.org/mozilla-central/source/mobile/app/mobile.js#571

  • Unable to perform search query against custom property

    Hi,
    I'm trying to perform search against specific property yet I'm getting empty result set.
    I have list with some data on it and the field in question has it's value filled. I done full crawl on the site and the crawled property is present under search administration. Property has "Enable full-text search" checked and I'm able to
    find these list items when I simply type something like 123 in the search box. Yet I'm unable to perform search against that property using syntax like
    DocumentNumber:123.
    According to this
    http://msdn.microsoft.com/en-us/library/office/ee558911.aspx I need to setup managed properties first so I did. I created required managed property called
    DocumentNumber I checked Searchable and Queryable boxes on and mapped it to crawled property. After that I performed full crawl again as it is required (http://technet.microsoft.com/en-us/library/jj219667.aspx)
    but still unable to retrieve result when performing search against specific property. I does however return results when I perform search against default columns like
    Created or Author.
    Some guy had similar issue
    http://social.msdn.microsoft.com/Forums/en-US/1f9782ca-5105-4802-b477-ccdee392c6eb/keyword-query-search-on-custom-managed-property yet that solution does not work for me. I tried it with SharePoint 2013 Search Query Tool and it returns nothing.
    Queries I performed:
    123 - returns required results.
    DocumentNumber:123 - no results.
    ows_DocumentNumber:123 - no results.
    Any ideas what I'm missing?

    According to this
    http://msdn.microsoft.com/en-us/library/office/ee558911.aspx I need to setup managed properties first so I did. I created required managed property called
    DocumentNumber I checked Searchable and Queryable boxes on and mapped it to crawled property. After that
    I performed full crawl again as it is required (http://technet.microsoft.com/en-us/library/jj219667.aspx) but still unable to retrieve result when performing search
    against specific property.

  • View search results as XML

    Hello Folks,
    How can I view my search results as XML in SharePoint 2013? I know it involves Display templates, but is there any other way?
    We have a custom application which needs to consume this XML and transform it as per the application need.
    Thanks for any lead!
    xwindow

    Hi,
    As I understand, you want to display search results as XML in SharePoint 2013.
    You can use search REST API in SharePoint 2013 to get search result as XML.
    The article below is about SharePoint 2013 Search REST API.
    http://blogs.msdn.com/b/nadeemis/archive/2012/08/24/sharepoint-2013-search-rest-api.aspx
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • People Search and a Custom Property

    I am trying to surface a custom property in the people search query results. For example,
    http://<servername:port>/_api/search/query?querytext='*'&sourceid='B09A7990-05EA-4AF9-81EF-EDFAB16C4E31'
    I get XML results but when I look at the properties returned for each of the people result, there are no custom properties from user profile properties. How can I modify the custom properties so that they start showing in the XML results for people search?
    Rank, DocId, AboutMe, AccountName, BaseOfficeLocation, Department etc.
    Please let me know.
    Thanks!
    Update: I am using SearchExecutor class and its ExecuteQuery API.

    Hi,
    Thank you for your sharing! It will be beneficial to others in this forum who meet the same issue in the future.
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Weird character in search result for HitHighlightedSummary property

    We have a INTEG search center and display managed property 'HitHighlightedSummary', which is a out of box managed property
    One of the results display as below in search result page:
    "Issue 9 brings us the latest news from the Home Oxygen Service team … Don't forget to read CorpNEWS next week to get the latest Home Oxygen Service update.  "
    Noticed that the last weird character? how does that happen? we have same setup in DEV env, but we don't get this issue, how to track down this issue.

    The Ascii code 8203 stands for line break :
    http://www.fileformat.info/info/unicode/char/200b/index.htm
    commonly abbreviated ZWSP ;  this character is intended for invisible word separation and for line break control; it has no width, but its presence between two characters does not prevent increased letter spacing in justification
    A third party editor may be adding them , if they are not originally present in your script/code.
    Are you using any such editor tools?
    It will be helpful to open a troubleshooting ticket with Microsoft so that we can look at the issue in more depth.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/23804eed-8f00-4b07-bc63-7662311a35a4/why-does-sharepoint-put-in-character-code-8203-in-a-richtext-field?forum=sharepointdevelopment

  • SharePoint 2010 - People Search Results - About Me Property

    Hi,
    Currently, we have About Me showing in our People Search Results page.
    About Me is a User Profile Property that allows Users to specify information about themselves. This Profile Property is an HTML property and therefore may contain links/URLs. When About Me contains links/URLs, they appear as proper links in the User Profile.
    However, in the People Search Results page, they just appear as plain text. We would like them to appear as actual links similar to the User Profile.
    Is there a way to do this?
    Thanks!

    Hi Seth,
    I do know it uses XSLT and have modified this XSLT before for Business requirements.
    However, I'm not even sure if my question is something that can be fixed thru XSLT.
    In XSLT, it is only 1 line that shows the About Me text:
    <xsl:value-of select='substring(hithighlightedproperties/aboutme,1,350)' />
    So I'm not sure if there's any way else to achieve what we want.

  • Search on Custom UserProfile property with multiple values in a Result Source

    For my customer i have created a news system based around pagelayouts, contenttypes and the new SharePoint 2013 Content by Search Webpart.
    When my customer creates a new "news page", they have the option to tag the news with a category, which is a manage metadata field. I use this property to filter different views in the "Content By Search Web Parts" presented on the front
    page of their intranet.
    The customer also wanted a "user specific" news result source, which returned the news in which the user was interested in reading.
    To make this feature possible I created a custom user profile property, which was hooked to the same Term source as the field on the news content type. By doing so the users would be able to select the news categories(channels) they are interested in seeing.
    I then created a result source, that matched the users selection with the selected category on the news and thereby only return the result that the users were interested in.
    This worked flawlessly, until they encountered a situation where a user selected more than one category. The result source always only returns news where the category matches the first tag in the users selection. It completely ignores the other selections
    chosen by the user.
    Underneath you can see the configurations.
    Users selection on their profile:
    The result source query and result:
    Where owstaxIdPANewsCategory is the Managed Property hooked to the category field on the news content type.
    The above result should have given me 2 items, do to the fact that there are one news tagged with "test1" and one news tagged with "test2".
    Any help would be appreciated 

    My colleague came up with the answer.
    The correct syntax in my case would be as follows:
    {|owstaxIdPANewsCategory:{User.NewsCategory}}
    the "|" char indicates that it should match it up against all selected values.
    taken from: http://technet.microsoft.com/en-us/library/jj683123.aspx

  • No search result using managed property from a column of a published infopath form

    Hi,
    I'm trying to use a managed property in the advanced search to retrieve only words from a column of a published InfoPath form. We are using FAST Search and verify that the column are being crawled by checking the crawled property in Central Admin but still
    cannot retrieve search result for the managed property. We also do a full crawl before testing the search. Thank you..

    Hi Rommel,
    When we create a column from a list (not site column), then we need create list item with this column value, then we need to full crawl, then the the crawled propery ows_listColumnName will be generated, then create a managed property to map this
    crawled property(start a full crawl again if needed), then add the custom managed property in advance search web part property, then check again.
    Here is an article about how to add the custom managed proerpty in advanced search web part, you can take a look.
    http://waelmohamed.wordpress.com/2011/05/31/add-custom-search-properties-in-your-advanced-search-sharepoint-2010/
    Thanks
    Daniel Yang
    TechNet Community Support

  • XML property aliasing

    I have a problem: I receive a XML file in my transaction input
    <?xml version="1.0" encoding="UTF-8"?><DATA>
    <VALUE_1/>
    <VALUE_2/>
    </DATA>
    and I want to rename the property DATA with the name TAGS.
    After this step, I want to access to the tag using Transaction.Source{/TAGS/VALUE_1}
    Does anybody know how to do this?
    I tried to use "Column aliasing" and "XSL Transformation" but without results. Which is the best way to do this?

    I tried it, but like before XSL transformation doesn't work. Maybe I do something wrong in XSL transformation settings.
    I added XSL transformation.
    I didn't configure the transformation URL (Configure object button)
    In configure links, Incoming tab, I set Inpux XML file as "Transaction.Source" (Source is my xml input file)
    In configure links, Incoming tab, I set InputXSL copying your xsl code.
    I didn't set xml output file, so less error appears.
    The system gave me a list of errors:
    [ERROR]: STEP EXCEPTION () : Invalid Variable In Expression: xml
    [ERROR]: STEP EXCEPTION (XSL_Transformation_0) : Invalid Variable In Expression: xml
    [ERROR]: STEP EXCEPTION (Sequence_0) : Invalid Variable In Expression: xml
    [ERROR]: STEP EXCEPTION (Sequence) : Invalid Variable In Expression: xml
    [ERROR]: TRANSACTION EXECUTION TERMINATED
    Do you know which is the right configuration for XSL transformation?
    I know just this help page: http://help.sap.com/saphelp_xmii120/helpdata/en/45/cca60593696f74e10000000a1553f6/frameset.htm
    but it is very short.
    Do you know other helpful webpages?
    Thank you for your first answer.

  • Desktop app, getting a search result as XML/JSON from any website. How?

    Heya!
    I have a java program that im fiddling with whenever im bored. It's purpose is basically for me to learn new things and possibly make a nifty piece of software for me and my friends.
    Say, I have a list of entries (movies). Each entry has an iMDB link. What i would like to do is to be able to click a button and get a new window (perhaps, i haven't designed this bit yet) with information imported directly from iMDB.
    An approach I came up with is this: When you type something in iMDB's search field, you get a page with results. Is there any way to grab that result internally in my desktop app as XML or JSON perhaps, and parse that info and populate some text fields/areas with that parsed info?
    Reason why I ask this is because i have no clue about that "section" of Java (I've got quite basic desktop skills, but nearly none with networking/web and media). Are there any default libs in Java that have functionality that might be useful to me? I'd appreciate a poke in the right direction :)
    edit: hmmmm i've found some pointers in http://forums.sun.com/thread.jspa?threadID=5407197&start=0&tstart=0 and it seems like I have to use the text files provided by iMDB since i am to use this for non-commercial purposes. Delete this thread as I should've done much better research before I made this one. My appologies.
    Edited by: Ojive on Oct 4, 2009 5:27 PM

    edit: I see you have recanted this question. Never mind then.

  • BUG: XML Property Inspector

    When editing an XML file in the Property Inspector, if I change a value in a sub-element, the Property Inspector closes that subelement and other subelements in that same level. Here is a test case. The file:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <DomainSet>
    <Domain name="YN">
    <AllowableValue value="Y" meaning="Yes3"/>
    <AllowableValue value="N" meaning="No" />
    </Domain>
    </DomainSet>
    1. Click the Domain node in the Structure window.
    2. Expand the first AllowableValue node and change the meaning property.
    3. Click the name property and wait a second or two. The Allowable Value node will close.
    The same behavior occurs in 9.0.3 and 9.0.3.1; both windows LAF and Oracle LAF. It doesn't matter if the XML Editor is open or not.

    To clarify, steps 2 and 3 are in the Property Inspector.

  • Searching for BLOB xml file content

    Hi Gurus,
    I am having a table with a blob type column which is holding xml files. Is there a way to select records of the table based on specific words contained in the xml?
    Many Thanks,
    Napster

    rp0428 wrote:
    But if OP really wants to search the 'content' of the xml elements I don't see that working for them.
    Sure, he can.  All you have to do is add auto_section_group to the index parameters, then you can search within any of the specific tags, as demonstrated below.
    SCOTT@orcl12c> CREATE TABLE a_table
      2    (id          NUMBER,
      3      blob_type_column  BLOB)
      4  /
    Table created.
    SCOTT@orcl12c> INSERT INTO a_table VALUES (1,
      2  UTL_RAW.CAST_TO_RAW (
      3  '<a><b>something different</b><c>whatever you are looking for</c></a>'))
      4  /
    1 row created.
    SCOTT@orcl12c> INSERT INTO a_table VALUES (2,
      2  UTL_RAW.CAST_TO_RAW (
      3  '<a><b>something else</b><c>something different</c></a>'))
      4  /
    1 row created.
    SCOTT@orcl12c> CREATE INDEX test_index ON a_table (blob_type_column)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS ('SECTION GROUP CTXSYS.AUTO_SECTION_GROUP')
      4  /
    Index created.
    SCOTT@orcl12c> SELECT id, UTL_RAW.CAST_TO_VARCHAR2 (blob_type_column)
      2  FROM   a_table
      3  WHERE  CONTAINS
      4            (blob_type_column,
      5             '(whatever AND looking) WITHIN c') > 0
      6  /
            ID
    UTL_RAW.CAST_TO_VARCHAR2(BLOB_TYPE_COLUMN)
             1
    <a><b>something different</b><c>whatever you are looking for</c></a>
    1 row selected.
    SCOTT@orcl12c> SELECT id, UTL_RAW.CAST_TO_VARCHAR2 (blob_type_column)
      2  FROM   a_table
      3  WHERE  CONTAINS
      4            (blob_type_column,
      5             '(something different) WITHIN b') > 0
      6  /
            ID
    UTL_RAW.CAST_TO_VARCHAR2(BLOB_TYPE_COLUMN)
             1
    <a><b>something different</b><c>whatever you are looking for</c></a>
    1 row selected.
    SCOTT@orcl12c> SELECT id, UTL_RAW.CAST_TO_VARCHAR2 (blob_type_column)
      2  FROM   a_table
      3  WHERE  CONTAINS
      4            (blob_type_column,
      5             '(something different) WITHIN c') > 0
      6  /
            ID
    UTL_RAW.CAST_TO_VARCHAR2(BLOB_TYPE_COLUMN)
             2
    <a><b>something else</b><c>something different</c></a>
    1 row selected.

  • Search UI and KM Property Renderer problem

    Hello all,
    I've got some problem with Property and property renderer for it. Could anyone help to solve this one?
    My property has a list of allowed values, e.g. de,en,ru,es and so on.
    The problem is when I integrate my property in the Search UI in order to be able to search by Predefined Properties.
    I implemented the interface ISelectionSupported and its method
    public boolean isSelectionSupported() {
            return true;
    Also I redefined the renderer method renderMetaProperty.
    public Component renderMetaProperty(IMetaName metaName, IMetaContext rendererContext)
    in order to make the drop-donw-list with allowed values list.
    For example, this method
    public Component renderMetaProperty(IMetaName metaName, IMetaContext rendererContext) throws WcmException {
    IPropertyMap properties = rendererContext.getPropertyMap();
            IProperty currentProperty = null;
            if (properties != null)
                currentProperty = properties.get(new PropertyName(metaName.getNamespace(), metaName.getName()));
            IPropertyRendererProxy pc = rendererContext.getRendererProxy();
            IMetaValue metaValue = null;
            if (currentProperty != null) {
                metaValue = metaName.searchByProperty(currentProperty);
                if (metaValue != null)
                    value = metaValue.getValue();
            // Create list values
            DropdownListBox dlb = new DropdownListBox(pc.getUniqueComponentId(metaName, null));
            DefaultListModel lm = new DefaultListModel();
            lm.setSingleSelection(true);
            dlb.setModel(lm);
            // Get allowed property values
            for (IMetaValueListIterator iterator = metaName.allowedValueIterator(rendererContext); iterator.hasNext();) {
                metaValue = iterator.next();
                if (metaValue != null && !"".equals(metaValue.getValue())) {
                    loc = new Locale(metaValue.getValue());
                    lm.addItem(metaValue.getValue(), loc.getDisplayName());
            dlb.setSelection(value);
            return dlb;
    The dropdownlist is dysplayed correctly. But when I press "Search" button the page is refreshed and the value I've just selected in dropdown list is not remained.
    I.e. the selected property value is sent on server for searching but after page reloading we get default property value (first value from drop-down-list) and user has to select necessary value over again.
    It’s needed saving value between page rollbacks. And I think Search component must do it itself and sent this value in my renederer after the page reloading.
    But I can't get the selected value in my property renderer, I get null.
    Maybe can anyone put some thoughts about this problem?
    I'll be very much appreciated for your advices.

    Hi Sergei,
    As I understood in Properties dialog the property rendering is working.
    For rendering in Search dialog, the property renderer has to implement com.sapportals.wcm.control.util.ISelectionSupported interface which has just a method ).
    public boolean isSelectionSupported() {
    return true;
    So easy )
    Regards,
    Adriana

Maybe you are looking for