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
    2 Posts
    0 Views
    G
    Looks like you are using C++. This link may help: http://msdn2.microsoft.com/en-us/library/ms757060.aspx[^] "We make a living by what we get, we make a life by what we give." --Winston Churchill
  • Unknown entity class: NHibernate.Examples.QuickStart.User

    database xml
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Date comparison in XML

    help xml question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Create new windows user via a Web service

    question help database hardware
    2
    0 Votes
    2 Posts
    0 Views
    B
    Sorry here is the code _ Public Function Create_users_on_server(ByVal login As String, ByVal User_password As String, ByVal password As Integer) Dim x As VariantType Dim dirEntry As DirectoryEntry dirEntry = New DirectoryEntry("WinNT://" + Environment.MachineName + ",computer") Dim entries As DirectoryEntries = dirEntry.Children If password = (PassWordFactor * System.DateTime.Now.Day) Then ' Set login name and full name. Dim newUser As DirectoryEntry = entries.Add(login, "User") newUser.Properties("Description").Add(login) ' User must change password at next logon (1 - true, 0 - false) newUser.Properties("PasswordExpired").Add(0) ' Password never expires. 'newUser.Properties("PasswordAge").Add(0) ' Set flags - User Cannot change password | Password never expires. newUser.Properties("Userflags").Add(&H40 Or &H10000) ' Set the password. Dim result As Object = newUser.Invoke("SetPassword", User_password) x = newUser.Path newUser.CommitChanges() ' Add user to the group "Members" Dim grp As DirectoryEntry = dirEntry.Children.Find("Members", "group") If (Not grp Is Nothing) Then grp.Invoke("Add", New Object() {newUser.Path.ToString()}) End If End If End Function Progress is a process , so value it
  • How to add xml code to web parts dynamically

    xml tutorial
    2
    0 Votes
    2 Posts
    0 Views
    I
    Hi, I think you should review XSLT trnsformation. If you're using ASP.NET, you can try control. There is a good tutorial here
  • problem while displaying xml with dtd

    help xml question
    2
    0 Votes
    2 Posts
    0 Views
    I
    Hello, May be there IE can't find path to your DTD schema. If you have installed web-server and you can receive you DTD file from this server, may be you need to try something like
  • update XML file dynamically

    c++ xml json announcement
    2
    0 Votes
    2 Posts
    0 Views
    I
    Hi, I think that you should create DOM tree for your XML file and show it tree control. When you update anything in tree control, you should automatically update data in you DOM document. When you finish your changes (before you close your application, for example) you'll simple save DOM document. That's all. But if you have so big XML file this is not a good idea. You should use SAX to load you document and you should generate new XML file when you save changes. I used these things in C#, but I think that there are some equivalents in C++. For example, I can recommend you Xerces. This is good cross-platform C++ library.
  • extract data from "dynamic" XML-files

    xml question csharp tutorial
    2
    0 Votes
    2 Posts
    0 Views
    B
    Personally, I'd build an XML serializable model to read XML into live objects. Then your controlling app can iterate through the graph to get whatever values you need, or you can alter the generated model to do calculations on itself. You can do this with XSD.exe or something like Skeleton Crew[^]. I'm not big on XmlReader or using XPath with XmlDocument, but they are also both reasonable approaches. If you only need the values from one type of node, maybe XPath would be less work. But if you are going to need anything else from your XML, you might want to look at a serializable model. Try code model generation tools at BoneSoft.com.
  • web.config c#.net -2005

    csharp sysadmin windows-admin security help
    2
    0 Votes
    2 Posts
    0 Views
    S
    add this tag inside the tag -- modified at 6:18 Friday 6th July, 2007 Regards, Sylvester G
  • Any one tell me how to convert excel file to xml dynamically

    xml java tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Biztalk server, I say Validate Schem

    database com sysadmin xml help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • xsl:variable [modified]

    xml help tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    V
    Thanks
  • avoid the pdf refresh between server events

    sysadmin
    2
    0 Votes
    2 Posts
    0 Views
    G
    You need to ask this question in the Web Development forum. "We make a living by what we get, we make a life by what we give." --Winston Churchill
  • encoded image into excel xml file using xsl

    xml help question
    5
    0 Votes
    5 Posts
    1 Views
    K
    thank you george. if i have any problem 'll let you know thanks raja
  • how to attach database object to textwriter

    xml database help tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    K
    Hi i am using c#.net this is my code may be it is helpfull to u. XmlDataDocument xdd= new XmlDataDocument(dataset object ) XslCompiledTransform xt=new XslCompliedTransform() xt.load("~/.xsl"); XslArgumentlist xal=new XslArgumentlist(); xt.transform(xdd,xal,response.output); if u r using c# this is helpfull to u and add response.contenttype,response.addheader thanks
  • Checking if a particular tags exists

    help question xml tutorial announcement
    2
    0 Votes
    2 Posts
    0 Views
    G
    Normally, you create a schema that checks your XML document for invalid structure. However, you can do the following: XmlNodeList nodes = doc.SelectNodes("/Products/Product[not(ID)]"); if (nodes.Count > 0) // throw a exception? "We make a living by what we get, we make a life by what we give." --Winston Churchill
  • syncfusion datagrid and xml

    xml tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Selecting a particular element

    xml help tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    K
    Thak u for ur suggestion came out of hardwork
  • looping in Xml nodes in C#

    xml csharp
    4
    0 Votes
    4 Posts
    0 Views
    G
    If you are searching for any type node (this includes elements, text nodes, comments, etc.) and attributes, this works: //node()|//@* "We make a living by what we get, we make a life by what we give." --Winston Churchill
  • XML in app.config file in VB 2005

    csharp xml json help question
    2
    0 Votes
    2 Posts
    0 Views
    G
    The app.config file structure is enforced by a schema. If you violate this schema, the configuraton file is invalid and it won't load. I hope this helps: http://msdn2.microsoft.com/en-us/library/ms254494(VS.80).aspx[^] "We make a living by what we get, we make a life by what we give." --Winston Churchill