Mikael Petterson
Usenet Archive
- Joined
- Nov 3, 2002
- Messages
- 27
- Reaction score
- 0
Hi,
I am using xsl to create a number of java files. If I discover a certain information in my input file (xml) I must report it to the user similair to " Error reported when creating class "AAA". However when I am generating I use redirect to write to files. This means that my error message will go in the java file. Not so good. User will get no info which class is going wrong. I was thinking of using the <xsl:message terminate="yes">
Error: creating class .....
</xsl:message>
But I cannot (or I do not lknow) get my class value into the message-tag. I need to pinpoint my class otherwise it is no use to the user.
Any hints are greatly appreciated!!!
BR
//Mikael
I am using xsl to create a number of java files. If I discover a certain information in my input file (xml) I must report it to the user similair to " Error reported when creating class "AAA". However when I am generating I use redirect to write to files. This means that my error message will go in the java file. Not so good. User will get no info which class is going wrong. I was thinking of using the <xsl:message terminate="yes">
Error: creating class .....
</xsl:message>
But I cannot (or I do not lknow) get my class value into the message-tag. I need to pinpoint my class otherwise it is no use to the user.
Any hints are greatly appreciated!!!
BR
//Mikael