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
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • How to define the font types in xsl output.

    xml question help tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • How to edit the single value in xml using xsl

    xml html regex tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • output space in html from xml and xsl

    xml help question html
    4
    0 Votes
    4 Posts
    1 Views
    P
    As Perspx said. You may be able to do it with the translate function, I haven't tried it. Otherwise, maybe you could perhaps insert pre or div tags around the text.
  • How to Add new Xml Node

    csharp sales xml help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    P
    With an XmlDocument.
  • XSD output (Enforcing XML Closing Tags)

    visual-studio xml help question
    2
    0 Votes
    2 Posts
    0 Views
    T
    Ok I found one solution: 1) Don't return the tag at all if element is empty. LOL the obvious right. It's very silly for a parser not to understand self closing tags, but it's our client's app that is going to read our generated XML. While this works, I'm still very interested on other solutions as well. Thanks all in advance.
  • Transform to convert True to true?

    question discussion
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • XSLT stylesheets and Reporting Services

    xml wpf help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Help Required

    csharp java xml help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Loop through XML Elements

    question xml
    3
    0 Votes
    3 Posts
    0 Views
    G
    <?xml version="1.0"?> <nodes>   <node id="001">information</node> </nodes> Did you have "Auto-encode HTML when pasting?" checked? Also, your question seems to be more of a .NET question than a XML question. "We make a living by what we get, we make a life by what we give." --Winston Churchill
  • Loading various objects simultaneously

    csharp database linq xml
    2
    0 Votes
    2 Posts
    0 Views
    A
    I got it var s = XDocument.Load("rect.xml"); var q = from x in s.Descendants() select new { x }; XNamespace ns = "http://tempuri.org/svg11-flat-20030114"; foreach (var itm in q) { if (itm.x.Name == ns + "rect") { rect re = (rect)itm.x; Console.WriteLine(itm.x.Name.ToString()); } if (itm.x.Name == ns + "desc") { rect re = (rect)itm.x; Console.WriteLine(itm.x.Name.ToString()); } }
  • Odd Occurrence Happening...

    help xml question
    2
    0 Votes
    2 Posts
    0 Views
    L
    Ron, I guess you posted this here because the file happens to be XML. I can assure you that there is nothing specific to XML technology that would account for this. Moving on. myNameIsRon wrote: revert back to the original install file/data. - Open XML file in Notepad, the data shown is the original install data. You provided no information that would enlighten us about this "install", so once again, that doesn't tell us anything useful. You also provided no information about how this "original" file has been modified so listing all the ways you open it and see the original data without providing any clue about how it is supposedly modified, wait for it, doesn't tell me anything useful. Based on what you posted I can not eliminate the users as the problem in every one of your scenarios. myNameIsRon wrote: - Open XML file in Notepad, the data shown is the original install data. User opened the wrong file. myNameIsRon wrote: E-mail XML file, the data is reverted to original install data. User emailed the wrong file. myNameIsRon wrote: Open same XML file in Internet Explorer, the file shows up-to-date data. Same as what? That statement doesn't even have enough information to understand. If you meant the same XML file they emailed in the previous step, then the first point is still valid, they sent the wrong file. led mike
  • XSL and Params with Sort-By [modified]

    xml tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    L
    Hi all, I have finally worked out how to achieve what I need. For those interested the syntax to get the value of an attribute by paramater is: @*[name() = $sortBy] where $sortBy is the name of the paramater. Hope this is of use to someone! Lea Hayes
  • How to combine two different xml schemas using ado.net

    csharp xml tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • XSL to select and sort problem

    xml help wpf regex performance
    3
    0 Votes
    3 Posts
    0 Views
    L
    lhayes00 wrote: Is this the most efficient way of doing this? Might be given the nature of the XML you appear to be working with. A more standard approach might be to have specific information in the XML rather than using Position() that you can query and possible sort against. That solution might be more standard and could perform better as well. led mike
  • .vcproj XML transformations

    csharp c++ xml json question
    5
    0 Votes
    5 Posts
    0 Views
    L
    Thanks I now found a reference to it on this blog[^] (another blog using a horrible font X| what's up with that? ) CodeTortoise wrote: since I need to spit out the '#include file.cpp' to a .cpp, as well as write a new .vcProj I don't believe it will do that but you could just have two XSLT's, one for each output file and run them both. The answer to all the rest of your can XSLT do this and that is yes. You can create just about any Text output using XSLT. That said, since UB is a development activity rather than a production build activity writing your C# utility to do this seems a perfectly fine choice. led mike
  • Securing XML

    xml question
    2
    0 Votes
    2 Posts
    0 Views
    P
    Would it not be easier to use some form of database? Regards, --Perspx "The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia