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
  • XML DOM in ATL

    c++ html xml help tutorial
    6
    0 Votes
    6 Posts
    4 Views
    J
    Christian Graus wrote: You can only pass a limited number of parameters on a COM interface, and the only way to pass COM objects is as an IUnkown * ( and maybe IDispatch *, I forget ). Actually, you can pass anything as long as the midl-compiler knows about it. I.e. anything declared within the same idl file or imported from another idl-file. -- This space for rent.
  • How to use format-number() function?

    question help tutorial
    2
    0 Votes
    2 Posts
    3 Views
    B
    I never tried it with a full XPath but I think you need to add apostrophs around the format string, e.g.: <xsl:value-of select="format-number(<XPath>,'###.##&apos)" /> Hope this helps, Bjørn.
  • IXMLDOMDocumentPtr and IXMLDOMDocument ?!?!

    html xml question
    4
    0 Votes
    4 Posts
    2 Views
    D
    Thanks! Daniel ;) --------------------------- Never change a running system!
  • MSXML and CString !!!

    question xml
    5
    0 Votes
    5 Posts
    2 Views
    D
    Thanks! Daniel ;) --------------------------- Never change a running system!
  • put_nodeTypedValue

    linux xml help tutorial question
    3
    0 Votes
    3 Posts
    4 Views
    B
    Correction: Install MSXML version 4. Without installing and still running on those "IE5.x systems", I suggest assigning the value to nodeValue (instead of nodeTypedValue), and validate when parsing. Where does your element get the type info from? Schemas, or DTD? What is the node's dataType value? I would assume both IE5.x and IE6.0 have a different opinion about the node's data type... Bernd
  • Creating an attribute of a node

    help c++ linux xml question
    2
    0 Votes
    2 Posts
    2 Views
    C
    Does it need to be done this way ? Anyhow, I do know that an XmlAttribute is a seperate item which you can create and append to the Attributes collection of the node. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
  • Include XML

    xml tutorial
    2
    0 Votes
    2 Posts
    2 Views
    C
    If you're asking how to change the format of XML, the answer is XSL, you can build one XML document from another easily that way. If that's not what you're asking, please reword it, because I don't understand. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
  • how xml embeds (saves) an image

    xml question
    4
    0 Votes
    4 Posts
    2 Views
    M
    Asim, Next time I would have phrased the question differently. (How does word save an embedded picture in it's xml file.) XML will save the file in what ever manner the app handles (assuming it is a valid file.) So it could save the picture on the side and insert a reference in the appropriate XML element. I would guess that word encodes the file (just like a server does sending it out over the internet) and sets an elements CData section with that encoded text string. If you have word just do a sample doc with a small picture in it. "I will find a new sig someday."
  • Automatic processing XML/XSLT on client or server side

    xml question java html database
    2
    0 Votes
    2 Posts
    3 Views
    M
    Given that it looks like you do not have good control on the browser the client will be using, I would highly recommend only doing server side processing. I.E. keep it as you say easy with the POST. Even if you have some performance issue, Make it work right first with the extra database calls. Then you can take time to make it work better after you have some experience. "I will find a new sig someday."
  • Appling XSL to XML - select attribute of node

    xml help linux learning
    2
    0 Votes
    2 Posts
    2 Views
    M
    I think this is closer to what you are looking for You have spelled trafficeReport with and without a capital T. Not the same element. the xsl:attribute -> Generates an attribute in the destination document. I do not think you were creating a new attribute but just using the value of what you have. http://www.vbxml.com/xsl/XSLTRef.asp is a fairly good online reference. "I will find a new sig someday."
  • 0 Votes
    11 Posts
    6 Views
    C
    Kosta Cherry wrote: I am not allowed to create my own objects, but I could call existing ones Fair enough. In that case, I don't understand why you could not use the DOM, although it's certainly the case that SAX is more lightweight. I'm glad you asked this, I will use SAX myself in future in places where I've used to DOM. Kosta Cherry wrote: As far as I understand, government want to have all their projects to be written in one - two languages, so they could get rid of contractors after project finished and hire some idiots fresh from college to support all this trash *grin* I see. In that case, I can see why 'no C++' was a requirement. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
  • beginner question: xml parsing

    tutorial question xml json learning
    5
    0 Votes
    5 Posts
    2 Views
    A
    I meant the attributes. At least, this is what I need at the moment. I'll look into it, thanks.
  • HELP!! WriteXml and DataSets

    question xml help tutorial
    4
    0 Votes
    4 Posts
    2 Views
    R
    Write an XSLT. One of the best ways to extract and transform XML is to write an XSLT. You can then apply the xslt to the XML and get the resulting XML. If you need help with the xslt, you will need to post a sample of your XML. Its really simple though.
  • Displaying Carriage Return || Line Feed

    xml html tutorial question
    3
    0 Votes
    3 Posts
    2 Views
    L
    After I retrieve the transformed CComBSTR that is produced with XML and xsl, I wrote code to parse through the wstring to replace the CRLF with a \n. I guess Excel didn't like what xsl did to it. Lilian
  • XSL

    xml html question
    6
    0 Votes
    6 Posts
    4 Views
    M
    Paul Watson wrote: LOL Well the site is called VBXML but what VB and XML have to do with each other I don't know. It is just marketing to make comfortable those who do not wish to think still come. http://www.topxml.com[^] also works to those who do think. "I will find a new sig someday."
  • handling CDATA in xml schema

    xml question csharp database visual-studio
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • MSXML version included in what version of IE?

    xml question announcement
    5
    0 Votes
    5 Posts
    2 Views
    A
    Paul Watson wrote: no, not those kind of fruit cakes all you sickos Hahaha, nice touch. Now I just need to find my info on each of the parsers (which one has the flaky XSL parser). -AC
  • Who knows PHP ?

    php question
    7
    0 Votes
    7 Posts
    2 Views
    P
    NRK wrote: PHP is great imho. Have you tried ASP.NET? I totally agree that ASP and PHP are on level terms and there is not much in it. But ASP.NET is something totally different and better. I hope PHP keeps up, good to have options and competition :) Paul Watson Bluegrass Cape Town, South Africa Ray Cassick wrote: Well I am not female, not gay and I am not Paul Watson
  • retrieving data fro database

    database help html sysadmin testing
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Serializing an Exception object to XML

    security xml help question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied