Skip to content

XML / XSL

Discussions on XML and related technologies

This category can be followed from the open social web via the handle xml-xsl@forum.codeproject.com

2.6k Topics 6.8k Posts
  • Select top 5 "rows" in XML -file

    database xml question
    3
    0 Votes
    3 Posts
    0 Views
    P
    Yep, the "pure" xsl solution will be using position() I believe, like this: "/store/books[position() <= 5]" This will select 5 first books Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer
  • Accessing an XML sequence

    csharp xml question
    2
    0 Votes
    2 Posts
    0 Views
    P
    Well, if you have created the class for handling your dataset (Generate code or something), then you should be able to use a function of propertyRow, which named like GetSellingpointRows(). If you don't see it, then you can try using GetChildRows anyway. I can't help you much with VB, but here is a link to IBuySpy[^]. You can download a VB version and see how they did this (look in PortalCfg.vb and Components/Configuration.vb): Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer
  • xml to listbox

    csharp xml help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • <![CDATA

    xml question
    7
    0 Votes
    7 Posts
    0 Views
    J
    Tom Archer wrote: By the way, great sig! :-D Tom Archer wrote: Funny how words like that can mean different things to you depending on what you're currently going through in life. True. :) "Blessed are the peacemakers, for they shall be called sons of God." - Jesus "You must be the change you wish to see in the world." - Mahatma Gandhi
  • Populating Treeview Control with XML Explicit

    database sql-server sysadmin xml help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Visulisations

    csharp xml question announcement
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    3 Posts
    0 Views
    T
    Worked like a charm! Thanks :-) "Sucks less" isn't progress - Kent Beck [^] Awasu 1.1 [^]: A free RSS reader with support for Code Project.
  • XML Text access

    xml question
    5
    0 Votes
    5 Posts
    0 Views
    T
    If you're using the .NET XML classes, then use XmlNode::ReadElementString. Cheers, Tom Archer Inside C#, Extending MFC Applications with the .NET Framework It's better to listen to others than to speak, because I already know what I'm going to say anyway. - friend of Jörgen Sigvardsson
  • Search Xml

    xml help
    7
    0 Votes
    7 Posts
    0 Views
    J
    as you can see i translated it to vb: Dim searchTerm As String = "hello, world" Dim results As XmlNodeList Dim queryString As String = "//*[contains('" & searchTerm & "')]" Dim xmldoc As New XmlDocument() xmldoc.Load("guestbook.xml") results = xmldoc.DocumentElement.SelectNodes(queryString) Response.Write(results) but why do i keep gettin this error: Function 'contains' in '//*[contains(bug)]' has invalid number of arguments. also how else can i write it out other than response.write thanks for the help Da Intern
  • 0 Votes
    2 Posts
    0 Views
    L
    I see now, that Excel is showing the data properly. Toad doesn't...
  • Generate XML from Schema

    xml database
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • selectSingleNode from a relative position

    c++ tutorial question
    5
    0 Votes
    5 Posts
    0 Views
    M
    Thanks. that did the job although for the record it was /Form[2]/Item instead of /Form/Item[2]
  • 2 xml file to 1 datagrid

    xml tutorial
    2
    0 Votes
    2 Posts
    0 Views
    N
    Like was said in the other forum, the schemas must match first.
  • bind xml datagrid

    xml
    2
    0 Votes
    2 Posts
    0 Views
    J
    disreqard Da Intern
  • .NET DataSet -> Xml + XSLT -> HTML

    xml tutorial csharp html help
    5
    0 Votes
    5 Posts
    0 Views
    D
    Ok, thanks for your time; you were very helpful Dave ratti
  • XML DOM get current position Node

    xml html data-structures help question
    3
    0 Votes
    3 Posts
    0 Views
    A
    yeah...i thought i would have to write my own function to calculate the current position. I was hoping i overlooked something and that it was possible to retrieve the index/position directly from a found node. Thanks though, for your reply.
  • XML Schema Import

    xml database com regex question
    5
    0 Votes
    5 Posts
    0 Views
    R
    In your first schema you should change the xmlns:gns="http://localhost/XMLWebServices/GeneralFormatting.xsd" to xmlns="http://localhost/XMLWebServices/GeneralFormatting.xsd" so that all types declared are in that namespace, otherwise you would have to put the gns prefix on all type names...
  • Web Service Problem...

    help csharp com sysadmin
    2
    0 Votes
    2 Posts
    0 Views
    J
    Must define Credentials Dim ws As New localhost.WebS() ws.Credentials = System.Net.CredentialCache.DefaultCredentials Jason W.
  • rss file

    com learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • &#163; sign in XSL output

    html xml question
    3
    0 Votes
    3 Posts
    0 Views
    P
    &#xA3; -> £ &#xFFE1; -> £ "When the only tool you have is a hammer, a sore thumb you will have."