- From: franklini <franklini@hotmail.com>
- Date: Mon, 6 Jul 2009 07:32:11 -0700 (PDT)
- To: www-xsl-fo@w3.org
Hi everyone, I have a unique problem and I have searched the forum for a solution but can't seem to see any. I need to write an XSL-FO file that can output the xml it is quering as it is. so basically this xsl-fo file can be used to create a pdf file displaying the xml file that it is transforming. for example; if I had an xml file such as below; <?xml version="1.0" encoding="UTF-8"?> <Class> <Order Name="TINAMIFORMES"> <Family Name="TINAMIDAE"> <Species Scientific_Name="Tinamus major"> Great Tinamou.</Species> <Species Scientific_Name="Nothocercus">Highland Tinamou.</Species> <Species Scientific_Name="Crypturellus soui">Little Tinamou.</Species> <Species Scientific_Name="Crypturellus cinnamomeus">Thicket Tinamou.</Species> <Species Scientific_Name="Crypturellus boucardi">Slaty-breasted Tinamou.</Species> <Species Scientific_Name="Crypturellus kerriae">Choco Tinamou.</Species> </Family> </Order> <Order Name="GAVIIFORMES"> <Family Name="GAVIIDAE"> <Species Scientific_Name="Gavia stellata">Red-throated Loon.</Species> <Species Scientific_Name="Gavia arctica">Arctic Loon.</Species> <Species Scientific_Name="Gavia pacifica">Pacific Loon.</Species> <Species Scientific_Name="Gavia immer">Common Loon.</Species> <Species Scientific_Name="Gavia adamsii">Yellow-billed Loon.</Species> </Family> </Order> </Class> i can use this XSL-FO file, to generate a pdf which will contain the above xml out. so the pdf will contain the following; <?xml version="1.0" encoding="UTF-8"?> <Class> <Order Name="TINAMIFORMES"> <Family Name="TINAMIDAE"> <Species Scientific_Name="Tinamus major"> Great Tinamou.</Species> <Species Scientific_Name="Nothocercus">Highland Tinamou.</Species> <Species Scientific_Name="Crypturellus soui">Little Tinamou.</Species> <Species Scientific_Name="Crypturellus cinnamomeus">Thicket Tinamou.</Species> <Species Scientific_Name="Crypturellus boucardi">Slaty-breasted Tinamou.</Species> <Species Scientific_Name="Crypturellus kerriae">Choco Tinamou.</Species> </Family> </Order> <Order Name="GAVIIFORMES"> <Family Name="GAVIIDAE"> <Species Scientific_Name="Gavia stellata">Red-throated Loon.</Species> <Species Scientific_Name="Gavia arctica">Arctic Loon.</Species> <Species Scientific_Name="Gavia pacifica">Pacific Loon.</Species> <Species Scientific_Name="Gavia immer">Common Loon.</Species> <Species Scientific_Name="Gavia adamsii">Yellow-billed Loon.</Species> </Family> </Order> </Class> which is exactly the same xml content. I would really appreciate any help. -- View this message in context: http://www.nabble.com/XSL-FO-for-rendering-and-xml-file-as-it-is.-tp24356539p24356539.html Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Monday, 6 July 2009 21:48:29 UTC