This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Can you send me an XML file


Cristobal Galiano Fernandez wrote:
> 
> Can you sen me an XML file  for chek your XSLT file?

Sure. The input document is below (it is exactly the same
as the data in the original post).

This result was generated with the full java version of
saxon 5.3.2.

You might like to change the output method to "html" for
proper HTML output.

----
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE Table [
  <!ELEMENT Table (HeadRow, Row*, Caption?)>
  <!ELEMENT HeadRow (Cell+)>
  <!ELEMENT Row (Cell+)>
  <!ELEMENT Cell (#PCDATA)>
  <!ELEMENT Caption (#PCDATA)>
]>

<Table>
  <HeadRow>
    <Cell>Heading one</Cell>
    <Cell>Heading two</Cell>
  </HeadRow>
  <Row>
    <Cell>Cell one</Cell>
    <Cell>Cell two</Cell>
    <Cell>Cell three</Cell>
  </Row>
  <Row>
    <Cell>Cell Four</Cell>
  </Row>
  <Caption>this is the caption</Caption>
</Table>
----

-- 
Warren Hedley


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]