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
  • can i format xml file, suggestion please ?

    csharp database xml question
    3
    0 Votes
    3 Posts
    0 Views
    L
    My xml code is as below : <?xml version="1.0" encoding="utf-16"?> <List> <File Thumal="jukebox" Awmzia="jukebox Thingrem zai thei" /> </List> The newline character I can make using but I want to display some of my word as italic, bold, etc. for example if I want to display jukebox as bold, or italic how do i do that. Would be very grateful if anyone lend me a hand here. Thank you.
  • Preventing and encrypting data from breaking Xml Structure

    security xml question
    5
    0 Votes
    5 Posts
    0 Views
    S
    Thank you for your help
  • Windows Forms Layout using Xml

    winforms xml question
    6
    0 Votes
    6 Posts
    0 Views
    A
    English isn't my first language, so I don't understand your question. Do you want to store the column name in a text box? if so you could make a control that inherit from the textbox class like this: public class ExtendedTextbox:Textbox { public string ColumnName; } and use the ExtendedTextbox insted of the normal Textbox class. and save the column name in the ColumnName varible like this: ExtendedTextbox etb=new ExtendedTextbox (); etb.Name="Something"; etb.ColumnName="Something"; ... ... this.Controls.add(etb);
  • Add up elements value by matching name element

    xml help
    2
    0 Votes
    2 Posts
    0 Views
    S
    This XSL stylesheet will output a single 'test' tag containing the total you want. Note that I construct a list of all the 'Price' tags (with //Price) and filter that list with a predicate on the sibling Name tag ([../Name='t1']). <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <test> <xsl:value-of select="sum(//Price[../Name='t1'])"/> </test> </xsl:template> </xsl:stylesheet> Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
  • I want to create a Tree(root,left node,right node)

    help data-structures
    2
    0 Votes
    2 Posts
    0 Views
    J
    This might help you out, ^_^ http://dev.mysql.com/tech-resources/articles/hierarchical-data.html[^]
  • How to response XMl format using SOAP protocol

    visual-studio xml csharp wcf com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • xmlTextWriter error

    help xml question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Regarding the SOAP message Request and Response

    csharp xml help html wcf
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • create xml .. [modified]

    database oracle sysadmin data-structures xml
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • web application with XML

    question csharp asp-net xml
    3
    0 Votes
    3 Posts
    0 Views
    M
    A little more context would help. Are you familiar with XML? Have you worked with XML before? MishaInTheCloud.blogspot.com
  • 0 Votes
    3 Posts
    0 Views
    V
    Am Sorry its one of the days. Thanks its working :) Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.somee.com http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
  • 0 Votes
    4 Posts
    0 Views
    U
    For XForms use with every recent browser, have a look at XSLTForms : http://www.agencexml.com/xsltforms
  • Specifying unqiueness of an attribute in xsd.

    xml database com question announcement
    3
    0 Votes
    3 Posts
    0 Views
    C
    It works.:thumbsup: Thanks a lot Stuart for the solution.
  • How to calling GetObject() in XML?

    javascript com hosting cloud xml
    3
    0 Votes
    3 Posts
    0 Views
    W
    Thx for your reply. My problem had been resolved. :-D There is some white cloud floating on the blue sky. That's the landscape I like.
  • How to ignore tags ?

    xml question regex tutorial announcement
    2
    0 Votes
    2 Posts
    0 Views
    S
    matty2desmara wrote: how do i go about disregarding anything with ColName in my xsl ? I suspect you're running foul of the default behaviour of XSL, which passes through all tags unchanged unless you say otherwise. Add a root element template that just processes what you want, like I've put in here? <?xml version="1.0"?> <xsl:stylesheet version = "1.0" xmlns:xsl = "http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text"/> <xsl:strip-space elements = "Report"/> <xsl:template match="/"> <xsl:apply-templates select="//Record"/> </xsl:template> <xsl:template match="Record"> <text> </text> xsl:text/<xsl:value-of select="normalize-space(Record)"/>xsl:text/ <xsl:value-of select="normalize-space(DateTime)"/>,xsl:text/ <xsl:value-of select="normalize-space(PointName)"/>,xsl:text/ <xsl:value-of select="normalize-space(PointValue)"/>,xsl:text/ <text> </text> <xsl:text disable-output-escaping = "yes" > </xsl:text> </xsl:template> </xsl:stylesheet> I'm presuming the use of DateTime, PointTime and PointValue in your XSL is a typo? Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
  • HOW TO ANSWER A QUESTION

    c++ architecture help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • How to get an answer to your question

    help csharp c++ html
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    3 Posts
    0 Views
    T
    Thanks very much for the reply. Good to see I am headed in the right direction!
  • 0 Votes
    11 Posts
    0 Views
    T
    Finally, I could create the desired xsd to valid the xml. I truly appreciate your great help. Thanks a lot. :) Prakash
  • Validate Xml without using xmlns

    xml csharp database com help
    3
    0 Votes
    3 Posts
    0 Views
    R
    You have referenced the element 'folders' before it was described in your xml that is why you are getting this error. Try changing the order in your xml . <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.tempuri.com/temp" elementFormDefault="qualified"> &lt;element name ="folders"&gt; &lt;complexType&gt; &lt;sequence minOccurs ="0" maxOccurs ="unbounded"&gt; &lt;element ref ="folder"/&gt; &lt;/sequence&gt; &lt;/complexType&gt; &lt;/element&gt; <element name="Drive"> <complexType> <sequence> <element ref="folders" minOccurs="0" maxOccurs="1"/> </sequence> </complexType> </element> <element name ="folder"> <complexType> <sequence> <element ref ="folders" minOccurs ="0" maxOccurs="1" /> </sequence> <attribute name ="name" type="string" /> </complexType> </element> </schema> Regards Akhila