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
  • Help to incorporate an html code in xslt

    help javascript html css database
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • transfer file

    csharp wpf question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    2 Posts
    0 Views
    L
    Support for using XML files for application settings is provided in the .NET BCL. You have not stated what type of application you have but this might help[^]
  • picture problems in wpf

    csharp question wpf
    2
    0 Votes
    2 Posts
    0 Views
    S
    You will probably have better luck asking this in the C# forum. Even though WPF uses an XML dialect (XAML) this really isn't an XML question per se. WPF doesn't have a PictureBox control, instead you need to use the Image control and set the Source property. Take a look at this blog post[^] for more information. Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai [Forum Guidelines] [Articles] [Blog]
  • 0 Votes
    3 Posts
    0 Views
    P
    Don't spam and load down this forums with your garbage. "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
  • 0 Votes
    2 Posts
    0 Views
    CPalliniC
    You have to use the attributes property (i.e the get_attributes method) and then the getNamedItem on the returned NodeMap, check out the C++ sample of the getNamedItem documentation: http://msdn2.microsoft.com/en-us/library/ms767592.aspx[^] it does almost exactly what you need (it retrieves an attribute of the documentElement, but the same applies to a standard node). Please note that you can also do a more intensive use of the smart pointers to make code more concise. :) If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile. [my articles]
  • XML starting...

    question xml tutorial
    2
    0 Votes
    2 Posts
    0 Views
    P
    XML is a structured text format. Your text data needs to have some structure to it, preferably hierarchical, for you to consider storing it as XML. Otherwise you'd be better off just storing it in a text file. kingletas wrote: but i don't know how to use XML. There's plenty of resources on the web for learning XML. Alternatively, buy a book. Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
  • Generic XSLT

    xml html wpf regex question
    3
    0 Votes
    3 Posts
    0 Views
    G
    Thanks for that it works. However when I am trying to add <xsl:sort select="*"/> after the <xsl:for-each select="*"> to sort by the first item doesn't work. Am I missing something? Thanks
  • Generic XSLT

    xml html wpf regex question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • double array into an XML file

    csharp data-structures xml question
    4
    0 Votes
    4 Posts
    0 Views
    C
    Hi, Regarding the help posted 2 days ago, The solution offered in that transaction was not the way that i need, because I used that method before. As for your questions; 500,525,550,575,17875,17900,17925,17950,17975,18000, 25.998,28.776,22.487,21.561,21.537, My xml document is given above. I write my arrays comma delimited to xml file but when the array size is large,say 1000000, it becomes cumbersome to write and read back. Because I have to use text processing. So, to overcome such text processing; Is there a way to store to and than read these arrays back from an XML file. Regards Cengiz EKEN
  • VTD-XML tutorials now available

    csharp xml database java html
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • VTD-XML tutorials now available

    csharp xml database java html
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • newbie question: xsd -&gt; unpopulated xml

    xml question csharp database
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Regarding multi coulmned output from xsl....

    xml help question
    2
    0 Votes
    2 Posts
    0 Views
    L
    Ron.S wrote: I am transfroming xml file into word documnet from the xslt that i have generated So your xslt is generating wordml? If yes then.... Ron.S wrote: but xsl is creating table one below the other .. Any hint what setting i would have missed ?? means you are not correctly generating wordml to it's specification. You need to find out the correct wordml you need and then change your xslt to generate it, yes?
  • Parsing CDATA to bject [modified]

    question csharp xml json
    2
    0 Votes
    2 Posts
    0 Views
    J
    In www.eurostall.com I have created RSS feed like this only. Just you go to the file www.eurostall.com/sitemap.xml and analyse. It may help.
  • Viewing query results with XSLT

    database xml help question
    2
    0 Votes
    2 Posts
    0 Views
    P
    You can query the database metadata to get this information. However, if you don't have access to the database then I'm afraid you're stuck. Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
  • how can make the client of Gnetella(2) client.

    csharp sysadmin help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Passing parameters to XSLT

    xml javascript html sales regex
    4
    0 Votes
    4 Posts
    0 Views
    P
    Then u can incorporate the same in ur xslt itself, u just need to use xpath,select desired node and directly put the value. If u can give me same xml and xsl may be i can give u an example of the same.
  • Serializing object using Generic.list

    question
    2
    0 Votes
    2 Posts
    0 Views
    P
    Without reading ur xml and .cs file Its not possible to answer your query...
  • 0 Votes
    5 Posts
    0 Views
    U
    Check This Out...It will work out... :) Protected Sub GridView1_RowUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewUpdateEventArgs) Handles GridView1.RowUpdating Dim i As Integer = GridView1.Rows(e.RowIndex).DataItemIndex Dim strId As String = CType(GridView1.Rows(e.RowIndex).Cells(2).Controls(0), TextBox).Text Dim strName As String = CType(GridView1.Rows(e.RowIndex).Cells(3).Controls(0), TextBox).Text GridView1.EditIndex = -1 BindGrid() ' Update the XML file using the new values Dim oDs As Data.DataSet = GridView1.DataSource oDs.Tables(0).Rows(i).Item(0) = strId oDs.Tables(0).Rows(i).Item(1) = strName oDs.WriteXml(Request.PhysicalApplicationPath + "books.xml") BindGrid() End Sub Protected Sub GridView1_RowDeleting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewDeleteEventArgs) Handles GridView1.RowDeleting BindGrid() Dim oDs As Data.DataSet = GridView1.DataSource oDs.Tables(0).Rows(GridView1.Rows(e.RowIndex).DataItemIndex).Delete() oDs.WriteXml(Request.PhysicalApplicationPath + "books.xml") BindGrid() End Sub Protected Sub GridView1_RowCancelingEdit(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCancelEditEventArgs) Handles GridView1.RowCancelingEdit GridView1.EditIndex = -1 BindGrid() End Sub Protected Sub GridView1_RowEditing(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewEditEventArgs) Handles GridView1.RowEditing GridView1.EditIndex = e.NewEditIndex BindGrid() End Sub Protected Sub GridView1_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles GridView1.PageIndexChanging GridView1.PageIndex = e.NewPageIndex BindGrid() End Sub Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Page.IsPostBack = False Then BindGrid() End If End Sub Sub BindGrid() Dim oDs As New Data.DataSet oDs.ReadXml(Request.PhysicalApplicationPath + "books.xml") GridView1.DataSource = oDs GridView1.DataBind() End Sub Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click If txtId.Text = "" Or txtName.Text = "" Then MsgBox("