Help for Generic Stylesheet

2009-05-26 Thread Egli Roland
Dear all

I am looking for a simple Stylesheet which produces out of any XML-Structure a 
PDF-document
Input is e.g. a structure like this:

author
  namemyName/name
  firstnamemyFirstname/firstname
/author
book
  titlemyTitle/title
  pricemyPrice/price
/book

The result should look like:

author:
  name: myName
  firstname: myFirstname
book:
  title: myTitle
  price: myPrice

Any hints are welcome.

Best regards
Roland


Re: Help for Generic Stylesheet

2009-05-26 Thread Remko Tronçon
 Any hints are welcome.

Not sure if this helps, but if DocBook XSL is too heavy for you, I
would suggest you create a sample document using DocBook, analyze the
XSL-FO it outputs, simplify the FO, and start from there to create a
stylesheet to generate similar output.

cheers,
Remko

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Adding Verdana font in Linux and registering it with FOP 0.94

2009-05-26 Thread ezzakrem

hello,
i have the same problem generating metric font with java -cp build/fop.jar,

   
  font-triplet name=Verdana style=normal weight=normal/

ak...@debian:~/Desktop/fop-0.94$ ./fop -xsl changeContacts.xsl -xml
changeContacts.xml -pdf test.pdf
26 mai 2009 19:13:58 org.apache.fop.fonts.FontInfo notifyFontReplacement
ATTENTION: Font 'Verdana,normal,400' not found. Substituting with
'any,normal,400'.

-- 
View this message in context: 
http://www.nabble.com/Adding-Verdana-font-in-Linux-and-registering-it-with-FOP-0.94-tp19711056p23727572.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org