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
  • C# Append XML File

    csharp sales xml architecture question
    3
    0 Votes
    3 Posts
    0 Views
    W
    Thank you Christian.
  • 0 Votes
    2 Posts
    0 Views
    C
    No. You should write code to decrypt it in a class and use that to access the values. Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
  • gaming proiject with XML

    business xml
    3
    0 Votes
    3 Posts
    0 Views
    C
    XML is of no intrinsic value to writing games. It may be used as a way to store data, but there will NEVER be a book or article called 'using XML to write games'. XML is not even a language. Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
  • how to write to xml file! [modified]

    javascript help html sysadmin xml
    2
    0 Votes
    2 Posts
    0 Views
    C
    live4u wrote: I want this problem to be solved with javascript or jquery.(server environment not client if that is possible). Um... I know you're new and all, but you just asked a dumb question. You want to use client side code, but you want it to run on the server ? How does that make sense ? To manipulate XML, there's almost certainly a DOM implimentation in the framework you're using, but if you want specific code, the ASP.NET forum for ASP.NET or web dev for any other web platform, is the best place to ask this. Although it relates to XML, it's hard to know how to answer based on what you said. XmlDocument class if you're using .NET, otherwise I don't know. But, you can't use javascript or jquery ( which is just a javascript library, it's not a language ) on the server, nor should you want to. Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
  • XML-RPC VERSUS JSON-RPC

    lamp sysadmin collaboration xml json
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • XML to link to Image location - Word 07 [modified]

    sysadmin xml help question learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • PROBLEM WITH HYPHEN (-) IN XML ELEMENT NODE

    help database xml tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    D
    HI STUART DOOTSON , THANKS FOR REPLYING MY DATABASE IS SQLSERVER AND I AM BULK INSERTING MY XML FILE USING SQLXML3.0 FRAMEWORK . IHAVE A VB SCRIPT LIKE OBJECT.Execute "MYSCHEMA.XSD" , "MYXMLFILE.xml" AM ASLO MAPPING MY XML TAGS WITH SQLSERVER TABLE NAME IN MY XSD FILE <xsd:element name="FIRST-NAME" sql:relation="FIRSTNAME" > xsd:complexType .................... .......................... </xsd:complexType> </xsd:element> sai krishna
  • help with SOAP

    wcf xml help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    L
    roba alchab wrote: i'm not familiar with the SOAP protocol or with the web services....i searched ggogle did'nt foundsomething useful on Are you sure you searched? What about all of these[^]?
  • how to pass the xml textbox value to php variable

    php database xml help tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Getting Values [modified]

    html database sysadmin xml question
    3
    0 Votes
    3 Posts
    0 Views
    S
    i searched, but i didt get anything...
  • How to implement tokenize in XSLT

    csharp xml visual-studio com tools
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Delete InnerText with its node. [modified]

    csharp xml tutorial
    6
    0 Votes
    6 Posts
    0 Views
    E
    Thanks a lot. I believe in ur codes but in my project actually did not work. even so its a good code. am not aware of the reason by the way i changed the whole idea. besides removing nodes and staff i used re-write method. to be more clear. I used an array(List) to help lets say i have album named "Koko" and down to it has 2 songs blah1 blah2 and wanna delete song named "blah2" i insert two songs first to an array when click remove song,, it goes to this array and delete existing song. and call a function that writes info from this array to xml file. so xml file will be updated with a new info from that array. thanks anyway:)))
  • How to apply wild cards on Attribute Value?

    question database xml tutorial learning
    2
    0 Votes
    2 Posts
    0 Views
    S
    Try //Page[starts-with(@pname, 'a')] (presuming it is Page, not page) Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
  • Completly stuck.... With XML Sorting

    help database algorithms xml
    2
    0 Votes
    2 Posts
    0 Views
    C
    I think an XSLT stylesheet is your best option for sorting the actual XML. Beyond that, you could read your XML data into the entity classes that I assume exist, sort those, and then view from there. Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
  • 0 Votes
    3 Posts
    0 Views
    C
    An xml file is just text. If you want to use an xml data source, I have no idea if the crappy auto generated .NET controls can support that, or if you need to write some DOM code to do it. Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
  • XML Column in SQL Server 2005

    database sql-server sysadmin xml help
    2
    0 Votes
    2 Posts
    0 Views
    N
    Here is the sample for XML Data Processing.. -- Create the table. CREATE TABLE T ( ProductID int primary key, CatalogDescription xml) GO -- Insert sample data. INSERT INTO T values(1, ';') GO SELECT ProductID, CatalogDescription.value('(/ProductDescription/@ProductName)[1]', 'varchar(40)') AS PName FROM T GO So for your requirement SELECT COLUMNNAME.value('(/Contact/PresentationInd)[1]', 'varchar(5)') AS PresentationInd modified on Monday, September 28, 2009 6:57 AM
  • XML

    xml
    11
    0 Votes
    11 Posts
    0 Views
    L
    AndrewMcIntyre wrote: I am making a virtual world virtual world require xml files for the menus and with lua files supporting the xml files. Having read a number of your questions it would appear that you believe you can conjure this virtual world from the ether with little or no effort on your part. I advised you some time ago that you need to spend a lot of time studying the basics before you can even begin to think about creating this grandiose project. Your first attempt at a simple Windows program here[^] demonstrated that you still have a long way to go. Sorry to burst your balloon on this but none of the people answering questions, and writing articles here, got to where they now are without a lot of studying, hard work and dedication.
  • sending xml document

    xml help
    5
    0 Votes
    5 Posts
    0 Views
    S
    More detail - where does the HTML come in - that's NOT XML. Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
  • Namespace Parsing Problem

    xml question com beta-testing regex
    4
    0 Votes
    4 Posts
    0 Views
    S
    Why does it make any difference? Semantically, both forms are exactly the same. Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
  • 0 Votes
    3 Posts
    0 Views
    L
    Hi Gareth- Please check this method: private void ReadXMLData() { XmlDocument xDoc=new XmlDocument(); xDoc.LoadXml("<?xml version=\"1.0\" encoding=\"UTF-8\" ?><Order><Items><Item><Code>A123</Code><Quantity>10</Quantity></Item><Item><Code>A456</Code><Quantity>5</Quantity></Item></Items></Order>"); XmlNodeList xNodeList = xDoc.GetElementsByTagName("Item"); for (Int16 iCount = 0; iCount < xNodeList.Count; iCount++) { Response.Write(xNodeList[iCount].ChildNodes.Item(0).InnerText+ "<br/>"); Response.Write(xNodeList[iCount].ChildNodes.Item(1).InnerText + "<br/>"); Response.Write("-----<br/>"); } } Thanks & Regards Lakhan Pal Garg Free Code Snippets http://lakhangarg.blogspot.com[^]