Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About groads2

  • Rank
  1. I have an xml that contains both types of notation. Being new to xslt I don't know how I should handle this. I have attached the xml. My style sheet does not traverse through the part that has the escaped characters (>). <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns5:CorrelatedMessageResponse xmlns:ns1="http://niem.gov/niem/appinfo/2.0" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="https://collect.prodcjis.ct.gov/ctsp/ext/1.0" xmlns:ns4="https://collect.prodcjis.ct.g
  2. I have this blob of text in on of the xml strings that I am receiving and transforming to html with xsl 1.0. I need to display it with all the white space preserved in a chromium object. I have read as much as someone can read on the subject of using xsl to transform this to html with the whitespace and tried a lot of those suggestions without getting the html to display correctly in the browser window. I have attached the xml. Anyone have a solution? Thanks.
  3. Thanks Martin. That was what I was looking for.
  4. I had an html form that has several tables. Sometime there is no xml data to file the table with and the table is filled entirely with the <tr> row that has the <th>. I need the row containing the <th> to maintain a size of 20px and not consume the entire table when there are no data rows.this is an example of what I am refering too. <html><head></head><body><div style="border:1px solid red;width:600px;height:400px"><table style="border:1px solid blue;width:300px;height:200px"><tr style="height:10px"><th style="text-align:cente
  5. I have an xml that will have 10 instances of a tag. I want to put each instance in a certain place on my html form. How do I select the specific occurance of an xml tag?
  6. Thanks Martin. I am new to xsl transformation and I am just not understanding parts of the xsl transformation. When I read that something returns the node, I expect the whole node including tags such as <car>Ford</car> not just the value of "Ford". So my delima continues. I have a the following xml, xsl and result below. I really want my far to have the xml with no name spaces. So How can I get the nodes such as <??>???</??> into my variable? Thanks. Also am I missing some fundamental aspect of the transformation process or is it just a lack of experience? Tha
  7. I am using Saxon to transform my xml to html. The parser is having a problem with the '&&'. I am just starting with xsl transformation. Can anyone give me some insight as to what the problem may be, and possibly how I can get around it? Thanks. The error is:Error on line 23 column 43 of stufferPVB.xsl: SXXP0003: Error reported by XML parser: The entity name must immediately follow the '&' in the entity reference.Failed to compile stylesheet. 1 error detected. <?xml version="1.0" encoding="utf-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/
  8. I have a really large xml document that I need to display in an HTML form. I am using xsl to transform into an html. Is it possible to alter the xml that is being transformed with the xsl and continue transforming it after it has been altered? I am really thinking of removing or changing some of the namespacing. Thanks.
  9. Hi: I just started with xsl transformation a couple of days ago. I got assigned a project to handle the display of xml documents, OJT is good but difficult sometimes. I found that the xml document comes to me with different namespace declarations at different times. I am using altova xml spy to test my transformation and It looks like my stylesheet needs the exact namespace names and urls that is in the original xml before it gets transformed correctly. While looking over a variety of the documents samples I noticed that sometimes I will have xmlns;ns5="thisurl" and the next time it could be
  • Create New...