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
  • attribute restriction [modified] [Solved]

    xml csharp database help question
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • 0 Votes
    1 Posts
    3 Views
    No one has replied
  • using search web service

    question xml help
    3
    0 Votes
    3 Posts
    12 Views
    E
    Thank you jschell I am a little bit closer to what to do. I am trying to build a web shop (with out the cart and the check out functon) and need to display the data on my web site. I have few question´s: 1. Is the XML a separate file stored at my server or is the xml integrated in the xml? 2. Can I use html to display the data in the xml or is java or css necessary? Thank you Halldor Halldor
  • How limitate the attribute of the root to it?

    help xml question
    2
    0 Votes
    2 Posts
    10 Views
    D
    I assume this is a small fragment of your code, not the entire body of the method. Does the number of calls to WriteEndElement in your program match the number of calls to WriteStartElement?
  • Failed to CreateInstance while using IXMLHttpRequestPtr

    help com question
    4
    0 Votes
    4 Posts
    14 Views
    P
    Hi! Will this code work with Managed C++/CLI also? What else need to be done to make this code work with Managed C++? int _tmain(int argc, _TCHAR* argv[]) { std::ostringstream XmlLogrequest; XmlLogrequest << "<?xml version=" << "\"" << "1.0" << "\"" << "?>" << "<request action = " << "\"registration" << "\"" << ">" << "<element id=" << "\"id001" << "\"" << ">" //cout << XmlLogrequest.str(); IXMLHTTPRequestPtr pIXMLHTTPRequest = NULL; BSTR bstrString = NULL; HRESULT hr = CoInitialize(NULL); string test = XmlLogrequest.str().substr(0,XmlLogrequest.str().size()); cout << test<<"\n"; try { hr=pIXMLHTTPRequest.CreateInstance("Msxml2.XMLHTTP.3.0"); //SUCCEEDED(hr) ? 0 : throw hr; pIXMLHTTPRequest->open("POST", "https://live.jqk365.com/cgibin/EClientIntegration",false); // SUCCEEDED(hr) ? 0 : throw hr; hr=pIXMLHTTPRequest->send(test.c\_str()); SUCCEEDED(hr) ? 0 : throw hr; bstrString=pIXMLHTTPRequest->responseText; MessageBox(NULL, \_bstr\_t(bstrString), \_T("Results"), MB\_OK); if(bstrString) { ::SysFreeString(bstrString); bstrString = NULL; } } catch (...) { MessageBox(NULL, \_T("Error"), \_T("Error"), MB\_OK); if(bstrString) ::SysFreeString(bstrString); } return 0; }
  • generate xml based on schema.

    xml database com help
    2
    0 Votes
    2 Posts
    5 Views
    G
    See my post above. If you are using Visual Studio there's a utility called XSD.exe which you run form the VS command prompt. XSD.exe <Schemaname1.XSD> <Schemaname2.XSD> /c this will generate a class based on your XSD's - Note if your schema imports from another schema then that schema name has to be included in the command. The /c at the end will give you a C# class. While I am exploring going down this route, I currently use the document object model (DOM) using a recursive Navigate algorithm from Ch 14 of Stehen Fraser's "Pro Visual C++/CLI and the .NET 3.5 Platform". My post above gives more insight into how I use this. I also draw heavily from Bipin Joshi's "Beginning XML with C# 2008 From Novice to Professional" Ger
  • Is Serialization worth it?

    xml html algorithms json question
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Customizing RSS Feed - XSL to display rss your way.

    sharepoint xml help tutorial
    2
    0 Votes
    2 Posts
    7 Views
    R
    I am sorry, i could not provide exact help. Please go through this Link[^] & Link 2[^] & This[^]
  • Converting some RTF text to WordML

    help
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Help editing Xml file in C#

    help csharp database xml announcement
    5
    0 Votes
    5 Posts
    12 Views
    J
    perfect thanks!!!:thumbsup::thumbsup: "For as long as men massacre animals, they will kill each other. Indeed, he who sows the seed of murder and pain cannot reap joy and love." Pythagoras
  • Behavior of '+' operator for String in XSL

    xml java help question discussion
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Silverlight XSD and datatable

    xml csharp database wcf design
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • XSL Drop Down

    help html database xml
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • How to deserialize this one

    csharp com help tutorial
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Read XML in C#

    tutorial csharp css xml
    6
    0 Votes
    6 Posts
    24 Views
    Y
    XPath is easy to use, uses a hierarchical syntax and is available in many languages. LINQ is far more flexible, but is .NET-centric.
  • How do I include PHP codes in an XML file?

    question php adobe xml help
    2
    0 Votes
    2 Posts
    10 Views
    Y
    We need more details in order to answer this. Why do you want to embed PHP in the XML? How is the XML being used? This sounds potentially dangerous.
  • Saving a word document(2000 to 2010) to xml

    xml question tools json
    2
    0 Votes
    2 Posts
    6 Views
    R
    don't post same question in more than one forum. It create cross post. be aware from it. :)
  • create multiple XML files

    xml question
    6
    0 Votes
    6 Posts
    19 Views
    P
    You are welcome. I hope we have helped. I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be Forgive your enemies - it messes with their heads My blog | My articles | MoXAML PowerToys | Onyx
  • C# XML Query Website address based on Website name

    csharp database com xml question
    6
    0 Votes
    6 Posts
    19 Views
    T
    Cheers!
  • Add xml declaration statement using xslt.

    xml question
    4
    0 Votes
    4 Posts
    11 Views
    T
    when I tried in xslt 1.0 in vs2008 <xsl:processing-instruction name="xml"> xsl:textversion="1.0"</xsl:text> </xsl:processing-instruction> I am getting error xsl:processing-instruction cannot be a child of xsl:stylesheet