Jump to content

dmannion

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About dmannion

  • Rank
    Newbie
  1. The output of this XML I need to give all employees a 5% raise. I am fairly new to XML and I need to figure out the XSL to give me this output. This is what I have. I am sure this is something to do with my XPath <?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href="Lesson_11_obj_2.xsl" type="text/xsl"?><!DOCTYPE Employees><Employees xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:noNamespaceSchemaLocation="Lesson_11_obj_2.xsd">><Employee> <First>John</First> <Last>Smith</Last> <Phone Type="Cell">1
  2. Thank you for the quick reply and information. Now that I know this I am playing with it and I can get output xml and text to work but it comes out as one line. > John Smith 1-800-123-4567 1960-05-25 35.85 Jane Jones 1-800-999-9999 1980-11-01 58.17 <?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:output method="xml" indent="yes"/><xsl:template match="/Employee"> <Employee> <FirstName><xsl:value-of select="First" /></FirstName> <LastName><xsl:v
  3. I would like to have my stylesheet use an XML output and if possible use it with a table. I seem to only get this to work with a HTML output not a XML output. I am fairly new at XML so any examples of how to do this or suggestions would be greatly appreciated. Here is my XML code <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="Lesson_8_obj_1.xsl" type="text/xsl"?><!DOCTYPE Employees><Employees xmlns:xsi="http://www.w3.org/20...Schema-instance"xsi:noNamespaceSchemaLocation="xsd.xsd">> <Employee> <First>John</First> &
  4. I would like to have my stylesheet use an XML output and if possible use it with a table. I seem to only get this to work with a HTML output not a XML output. I am fairly new at XML so any examples of how to do this or suggestions would be greatly appreciated. Here is my XML code <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="Lesson_8_obj_1.xsl" type="text/xsl"?><!DOCTYPE Employees><Employees xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:noNamespaceSchemaLocation="xsd.xsd">> <Employee> <First>John</First>
×
×
  • Create New...