Customization of XSL for FO2pdf

I have specialized the topic in issue. Now, i tried to customized the XSL for Fo2pdf.

Following is specialization:

<!ATTLIST issue       %global-atts;  class  CDATA "- topic/topic issue/issue "      >
<!ATTLIST issuebody   %global-atts;  class  CDATA "- topic/body issue/issuebody "   >

<!ATTLIST issuemeta   %global-atts;  class  CDATA "- topic/section issue/issuemeta ">
<!ATTLIST issuedtl    %global-atts;  class  CDATA "- topic/bodydiv issue/issuedtl " >
<!ATTLIST watchers    %global-atts;  class  CDATA "- topic/section issue/watchers " >
<!ATTLIST comments    %global-atts;  class  CDATA "- topic/section issue/comments " >

<!ATTLIST project     %global-atts;  class  CDATA "- topic/sectiondiv issue/project "    >
<!ATTLIST product     %global-atts;  class  CDATA "- topic/sectiondiv issue/product "    >
<!ATTLIST priority    %global-atts;  class  CDATA "- topic/ph issue/priority "      >
<!ATTLIST votesavg    %global-atts;  class  CDATA "- topic/ph issue/votesavg "      >
<!ATTLIST assignedto  %global-atts;  class  CDATA "- topic/sectiondiv issue/assignedto " >
<!ATTLIST status      %global-atts;  class  CDATA "- topic/sectiondiv issue/status "     >
<!ATTLIST createdby   %global-atts;  class  CDATA "- topic/sectiondiv issue/createdby "  >
<!ATTLIST createddt   %global-atts;  class  CDATA "- topic/ph issue/createddt "     >

<!ATTLIST watcher     %global-atts;  class  CDATA "- topic/sectiondiv issue/watcher "    >
<!ATTLIST comment     %global-atts;  class  CDATA "- topic/sectiondiv issue/comment "    >

<!ATTLIST name        %global-atts;  class  CDATA "- topic/sectiondiv issue/name "  >  <!-- not extending from title, sectiondiv only includes sectiondiv.cnt & sectiondiv-->
<!ATTLIST description %global-atts;  class  CDATA "- topic/sectiondiv issue/description ">  <!-- not extending from desc, sectiondiv only includes sectiondiv.cnt & sectiondiv-->
<!ATTLIST owner       %global-atts;  class  CDATA "- topic/sectiondiv issue/owner " >
<!ATTLIST lastname    %global-atts;  class  CDATA "- topic/ph issue/lastname "      >
<!ATTLIST firstname   %global-atts;  class  CDATA "- topic/ph issue/firstname "     >
<!ATTLIST password    %global-atts;  class  CDATA "- topic/ph issue/password "      >
<!ATTLIST email       %global-atts;  class  CDATA "- topic/ph issue/email "         >

The default out is as follow:

Error occurs when clicking create user in User Administration page
Component-It Component-It Content Management System System Administrator hokar@hotmail.com System
Administrator hokar@hotmail.com 08-31-2009 13:47:34.230 CTE CIT Test Easy Karen Ho hokar@hotmail.com
31-AUG-2009 16:09:21 MEDIUM 3.0 Karen Ho hokar@hotmail.com Open Jasper Tang jasperhao@yahoo.com
31-AUG-2009 16:09:21
Steps to produce the error:
• Login as administrator
• go to User Administration Page
• click on create user button
• 404 error occurs
• This another line
Karen Ho hokar@hotmail.com Parjinder Pannu parjinderpannu@gmail.com
this error occurs because the associated user role has missing rights Karen Ho hokar@hotmail.com 31-AUG-2009
16:09:21

The problem is that when i tried to find like in xsl contains(@class, 'topic/section'),

it seems like the processor is not touching it. May be i am doing it wrong!!!

How can i customize the xsl for that, please give some example or give some url to some good example?

 

 

XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I