David Carlisle
Usenet Archive
- Joined
- Jan 5, 2000
- Messages
- 609
- Reaction score
- 0
The attributes on xsl
utput are merged according to import precedence, you only have one lineariser active in any given transformation. In your case the system will output XML, which is presumably what you want, as the method attribute on xsl
utput in the first stylesheet has higher import precedence.
the templates in transform2.xsl will still fire, but the text will be output using XML conventions so < as < this is anyway what you want as you are outputting the child text of an element and if you generated unquoted < or & (as the text output method would produce) the whole result file would not be well formed XML.
Presently, the declarations in the imported xsl are ignored.
If this is so, the problem is unrelated to any of the code you have posted, you may need to be more explict, make a small example with one template in each stylesheet, and an explict input file and say what output you wanted and what output you got.
David
the templates in transform2.xsl will still fire, but the text will be output using XML conventions so < as < this is anyway what you want as you are outputting the child text of an element and if you generated unquoted < or & (as the text output method would produce) the whole result file would not be well formed XML.
Presently, the declarations in the imported xsl are ignored.
If this is so, the problem is unrelated to any of the code you have posted, you may need to be more explict, make a small example with one template in each stylesheet, and an explict input file and say what output you wanted and what output you got.
David