Search Result

Collapse
12 results in 0.0042 seconds.
Keywords
Members
Tags
xpath
  •  

  • sachtech
    started a topic Filtering the XML Nodes bound with dropdownlist
    in XML

    Filtering the XML Nodes bound with dropdownlist

    Hello Friends, I have two DropDownList: 1) CollegeDDL which contains Four static names of the colleges. : Homeopathic Medical College,Physiot herapy College,Institu te of Ayurveda,Instit ute of Business Administration


    2) CourseDDL which is bind to CourseDetail.XM L.
    Code:
                
            <Institutes>  
            <Institute>
            <InstituteName>  Homoeopathic Medical College  </InstituteName>
    ...
    See more | Go to post

  • rick quatro
    started a topic Wrap an element if it starts with text
    in .NET

    Wrap an element if it starts with text

    I have a series of <entry> elements whose entire contents I want to wrap in a <p> element.

    For example, here is before:

    <entry>This is a raw entry that needs a p element.</entry>

    Here is after:

    <entry><p>Thi s is a raw entry that needs a p element.</p></entry>

    I want to ignore <entry> elements that already have a top-level...
    See more | Go to post

  • Is there any possible way to convert XML::Twig object to XML::XPath object

    I'm using XML::XPath for a long time to parse xml, now the situation has come to modify the attribute value.

    xml is available in a file, it will be very similar to this.

    <AppName>
    <Action AllDay='1' StartRace='1'/>
    <StartPoint AM_PM='AM' Hours='09' Mins='30'/>
    <EndPoint AM_PM='PM' Hours='06' Mins='30'/>
    </AppName>

    I have written a perl...
    See more | Go to post

  • samueln12
    started a topic How to read a processing instruction?
    in XML

    How to read a processing instruction?

    Hi ALL,

    I have a processing instruction like <?aid Char="feff" Self="rc_u434fi 2d8fiecins0"?>

    Now i want to read this by XSLT and convert to tags like

    <aid char="feff" self="rc_u434fi 2d8fiecins0">

    How this is possible using XSLT

    Thanks
    Sam
    See more | Go to post

  • samueln12
    started a topic Xpath Help
    in XML

    Xpath Help

    Hi ALL,

    I have a XML file in following type

    Code:
    <xml>
    <para type="P">Sample text 1 goes here</para>
    <para>Sample text 2 goes here</para>
    <para>Sample text 3 goes here</para>
    <para type="P">Sample text 4 goes here</para>
    <para>Sample text 5 goes here</para>
    <para>Sample text 6 goes here</para>
    ...
    See more | Go to post
    Last edited by Dormilich; Sep 28 '10, 05:54 AM. Reason: please use [code] [/code] tags when posting code

  • genox
    started a topic xsl:value-of select and xsl:template match issue
    in XML

    xsl:value-of select and xsl:template match issue

    Hi All,

    A newbie to the forum and the world of XML/XSLT

    I'm trying to create a XSLT script to convert from one XML format to another (cXML is the target format) for a system integration project.

    I want to be able to map values in the source XML tags to the destination cXML tags as necessary but am stumbling on problems retrieving the right elements

    Here comes the code...

    Source...
    See more | Go to post

  • oscar2
    started a topic All available xpath in XML document
    in XML

    All available xpath in XML document

    I am using vb.net 2010 to get data from XML file, I was wondering if there is any way to find and print all available xpath of all nodes in the document. For example:
    XML file is like :
    Code:
    <CATALOG>
      <CD>
        <TITLE>Empire Burlesque</TITLE>
        <ARTIST>Bob Dylan</ARTIST>
      </CD>
      <CD>
        <TITLE>Hide your heart</TITLE>
        <ARTIST>Bonnie
    ...
    See more | Go to post

  • Whileoflife
    started a topic invalid token XPath expression

    invalid token XPath expression

    When I run the code below I get the error: has an invalid token

    Any suggestions?
    Code:
    <?xml version="1.0"?>
    <root>
    <Japan>ユーザーおよび管理者</Japan>
    <English>'Guest' and "Administrator"</English>
    </root>
    <root>
    <Japan>........</Japan>
    <English>.............</English>
    </root>
    Here is my code:...
    See more | Go to post

  • pnunbe
    started a topic Problem with XPath 'substring' function
    in XML

    Problem with XPath 'substring' function

    Hi,

    I have a problem with the 'substring' function of XPath in VB.NET (VS 2005).

    My code looks like this:
    Code:
      dim Dom As new XmlDocument
        Dim mgr As New XmlNamespaceManager(Dom.NameTable)
       'mgr.AddNamespace("fn", "http://www.w3.org/2005/xpath-functions/#substring")
       mgr.AddNamespace("fn", "http://www.w3.org/2005/xpath-functions")
    ...
    See more | Go to post

  • milecimm
    started a topic Xpath for unique value
    in XML

    Xpath for unique value

    Hi

    I have the following xml structure

    CONTRACTS
    --CONTRACT
    ---SUPPLIERS
    ----SUPPLIER
    -----SUPPLIERID
    -----SUPPLIERNAME

    I need to get all unique values for suppliers so I dont get the same supplier more than once. I'm using the following xpath but it's not working:

    Xpath = CONTRACTS/CONTRACT/SUPPLIERS/SUPPLIER[not(SUPPLIERID= preceding-sibling::SUPPLI ER/SUPPLIERID)]")...
    See more | Go to post

  • milecimm
    started a topic shorten load time for xml file
    in XML

    shorten load time for xml file

    Hi

    I have the below code. It works fine but it takes a long time to load on the browser page. Is there anything I can do to shorten this time?

    Also, I would like to search the file for documents with NAME starting with A, B, C, etc. How do I do that?

    Thanks for your help!

    aspx.vb page

    Code:
    Dim xdoc As New XPathDocument(xt)
           
    
            Dim nav As XPathNavigator
    ...
    See more | Go to post
    Last edited by Dormilich; Mar 3 '10, 06:50 PM. Reason: Please use [code] tags when posting code

  • milecimm
    started a topic how to find nodes in xml file using xpath
    in XML

    how to find nodes in xml file using xpath

    Hi

    I have a textbox that people would need to use to search a xml file. If a record is found with that worrd as keyword then the item is returned. I need to return ID, for example, but I dont seem to find the way to do this. Could you help? Thanks. This is what I have but I get "Object reference not set to an instance of an object."

    Code:
    Dim d() As String
            Dim j As Integer
            d = TextBox1.Text.Split("
    ...
    See more | Go to post
    Last edited by Dormilich; Mar 1 '10, 01:19 PM. Reason: Please use [code] tags when posting code
Working...