colors in xml

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ganesh22
    Banned
    New Member
    • Sep 2007
    • 81

    #1

    colors in xml

    Sir:

    <Microsoft>
    <Platform>
    <FirstName>AS P</FirstName>
    <SecondName>.NE T</SecondName>
    </Platform>
    <Platform>
    <FirstName>J# </FirstName>
    <SecondName>.NE T</SecondName>
    </Platform>
    </Microsoft>

    For these xml i want to change the colors like within the tag RED color tag BLUE color and answer is BLACK color Can U Help PLZ!!
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    #2
    Originally posted by ganesh22
    Sir:

    <Microsoft>
    <Platform>
    <FirstName>AS P</FirstName>
    <SecondName>.NE T</SecondName>
    </Platform>
    <Platform>
    <FirstName>J# </FirstName>
    <SecondName>.NE T</SecondName>
    </Platform>
    </Microsoft>

    For these xml i want to change the colors like within the tag RED color tag BLUE color and answer is BLACK color Can U Help PLZ!!
    Getting to the basics. XML is datacentric
    which means you cannot change colours of them in the xml view.
    You need a transformation file / xslt to change the output to something like HTML and set the colour at runtime while reading the respective nodes.

    this dosent look like a .Net question either.

    Cheers

    Comment

    • ganesh22
      Banned
      New Member
      • Sep 2007
      • 81

      #3
      Originally posted by Shashi Sadasivan
      Getting to the basics. XML is datacentric
      which means you cannot change colours of them in the xml view.
      You need a transformation file / xslt to change the output to something like HTML and set the colour at runtime while reading the respective nodes.

      this dosent look like a .Net question either.

      Cheers



      Sir:

      Can U explain how to use XSLT file??

      Comment

      • Shashi Sadasivan
        Recognized Expert Top Contributor
        • Aug 2007
        • 1435

        #4
        Originally posted by ganesh22
        Sir:

        Can U explain how to use XSLT file??
        there you go
        cheers

        Comment

        Working...