
Hello, It works for me. I used profile.xsl cascaded with fo/docbook.xsl, the param profile.revision with the value 9.1 and both chapter 1 and chapter 2 are included. If I change the value of profile.revision chapter 2 is not included in the PDF result. You did not specify the content of the global.ent file. I used the following: <!ENTITY chapter1 SYSTEM 'chapter1.xml'> <!ENTITY chapter2 SYSTEM 'chapter2.xml'> Make sure the name and value of the profile.revision attribute from chapter2.xml is the same with the name and value of the XSLT parameter specified in the Configure parameters dialog. Best regards, Sorin sylvain@europe-shareware.org wrote:
Hello,
I am facing the following problem :
My files (I am using DocBook as a DTD) :
- I have a book.xml file with "book" as the root. - inside that file I have different "part" elements with some entities inside. - these entities are links to external files I want to include in the book.xml file
Overview of book.xml :
<!DOCTYPE book SYSTEM "file:/C:/Program%20Files/Oxygen/frameworks/docbook/dtd/docbookx.dtd" [ <!ENTITY % global_entities SYSTEM "global.ent"> %global_entities; ]> <book> <part> <title>My first part</title> &chapter1; &chapter2; </part> </book>
Overview of chapter1.xml (file related to &chapter1; entity) : <chapter> <title>My chapter 1</title> <para>blablabla</para> </chapter>
Overview of chapter2.xml (file related to &chapter2; entity) : <chapter revision="9.1"> <title>My chapter 2</title> <para>blablabla</para> </chapter>
My oXygen transformation scenario : - in the "Parameters" window, I added the following entries : Name : "profile.revision" Value : "9.1"
- of course I parameterized the docbook xsl as a cascading style sheet to process profile.xsl first
The problem is that in the resulting PDF file I have the chapter1.xml file included but not the chapter2.xml file
What did I miss ? In general profiling works well, this is the first time I face such a problem. _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user