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
  • xsd to xml

    java xml
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • XML transform to SQL by XSL

    xml database tutorial question announcement
    5
    0 Votes
    5 Posts
    0 Views
    A
    Thanks very much, i appreciated your effort. cheers Andie
  • Geocoding using google service

    question
    2
    0 Votes
    2 Posts
    0 Views
    L
    mkanna wrote: is there any google webservice available to get the bulk geocoding? Welcome to CodeProject.com :beer: Looks like you took a wrong turn in a router somewhere because I think you are looking for code.Google.com[^] led mike
  • XSL copy-of problem!

    xml html regex help
    5
    0 Votes
    5 Posts
    0 Views
    S
    Hi and Thanks! Thanks Frank! Problem solved, that template was just what I needed to complete my project! Thanks Again! MrWolfy :-D
  • Using XML to represent parameter data (VST)

    xml database beta-testing json tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • how to get XML file.

    csharp xml tutorial
    3
    0 Votes
    3 Posts
    0 Views
    M
    Check out the XmlSerializer class. --Mike-- Visual C++ MVP :cool: LINKS~! CP SearchBar v3.0 | C++ Forum FAQ "That's what's great about doing user interface work. No matter what you do, people will say that what you did was idiotic." -- Raymond Chen
  • [Message Deleted]

    2
    0 Votes
    2 Posts
    0 Views
    L
    krishna, welcome to codeproject :beer: Take the time to read this handy forum guidelines article[^]. Pay attention to item #6. led mike
  • xml to xml [modified]

    xml tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    L
    Since you voted my post down I guess that means you don't believe that as a developer you should learn the technology you need to work with. Ok, good luck. led mike
  • How to convert an xml file to sql table by C# ?

    question csharp database xml tutorial
    6
    0 Votes
    6 Posts
    0 Views
    C
    If i've a huge xml file and i want copy that data into sql server ce table. How can i do to store it faster?
  • Reading values from unformatted xml

    com xml help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    C
    This is not XML, therefore your question does not belong in this forum. Do you know why ? Do you know how XML is defined ? 1 - it has one root element 2 - it is case sensitive. Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
  • transform XML to XML

    xml json
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • XSL value-of output problem!

    help xml question
    4
    0 Votes
    4 Posts
    0 Views
    S
    Hi And Thanks! Thanks Frank! Again you have provided the soloution to a problem I have been grappling with for weeks! Thanks Again! MrWolfy :-D
  • [Message Deleted]

    2
    0 Votes
    2 Posts
    0 Views
    L
    Don't repost your question. You were given reasonable answers on your first post. debobrata wrote: the source code I got for the XML Notepad from the Codeplex.com is not building. The project you describe is far to ambitious for a developer that can't even compile an open source project. led mike
  • 0 Votes
    2 Posts
    0 Views
    L
    H.Subbulakshmi wrote: i want to get the attribute names from the xml using xslt H.Subbulakshmi wrote: Now i want to get the value select equal to true or false.. I don't know what that means but the following XSLT will render the names of all the attributes that have the value true <xsl:for-each select="//*/@*[.='true']">   <p>     <xsl:value-of select="name()"/>   </p> </xsl:for-each> led mike
  • XML/XSL Books

    xml csharp java question learning
    5
    0 Votes
    5 Posts
    0 Views
    R
    Is this (Professional XML) a good book for XML beginners? Thanks
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • XSL Nesting Problem!

    xml html wpf regex help
    6
    0 Votes
    6 Posts
    0 Views
    L
    wow, I did not understand that was what he was asking at all. :omg: Nice catch! led mike
  • 0 Votes
    6 Posts
    0 Views
    D
    the source code I got for the XML Notepad from the Codeplex.com is not building. Can you please zip and send me the entire source code for the XML Notepad in my email id which is debobrata.bose@gmail.com Thanks and Regards, Deb
  • How to generate XML File from table

    database tutorial csharp asp-net xml
    2
    0 Votes
    2 Posts
    0 Views
    T
    HI Run this in a console app and change the connection string! using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; namespace MenuGen { class Program { public static string Crlf = System.Environment.NewLine; private class LeftMenuNode { public int NodeID = 0; public string ParentNodeID = string.Empty; public int FK\_LangID = 0; public string Text = string.Empty; public bool LastLevel = false; public bool LinkLevel = false; public List SubMenus; public LeftMenuNode() { SubMenus = new List(); } } //get the menu data from the database static void GetDBMenus(ref DataSet ds) { string sql = "SELECT \* FROM LeftMenu"; SqlCommand cmd = new SqlCommand(sql, new SqlConnection(@"data source=\*\*\*;initial catalog=\*\*\*;Integrated Security=True")); cmd.CommandType = CommandType.Text; SqlDataAdapter adapter = new SqlDataAdapter(cmd); ds.Clear(); using (adapter) { adapter.Fill(ds); } } static void Main(string\[\] args) { DataSet dsMenus = new DataSet("Menu"); //get the list of menus GetDBMenus(ref dsMenus); //make sure we have a table to work with if (dsMenus.Tables.Count == 0) return; //kick off the menu gen process BuilMenuXML(ref dsMenus); //now that we've buld a class structure we can work with //all we have to do now if } static void BuilMenuXML(ref DataSet ds) { int tab = 0; string xml = string.Empty; xml = " " + Crlf; //populate our custom menu class List menus = new List(); foreach (DataRowView row in ds.Tables\[0\].DefaultView) { LeftMenuNode menuItem = new LeftMenuNode(); menuItem.NodeID = Convert.ToInt32(row\["NodeID"\]); menuItem.ParentNodeID = Convert.ToString(row\["ParentNodeID"\] == DBNull.Value ? "" : row\["ParentNodeID"\]); menuItem.Text = Convert.ToString(row\["Text"\]);
  • More than one xsd for a xml validation

    xml help c++ database
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied