[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Simple Question
Punnoose, Roshan wrote:
Thanks for the replies. I'm better understanding how XSLT works and with a little help able to get this to work: Regardless of your original problem, this is not the way to do it, and it won't work the way you intend either. There are ways to output non-xml text in an xml serialized output stream, and the preferred way with XSLT 2 is character-maps (but still, you can't output characters that cannot be represented in XML). If you really have no need for <xqx:orOp>... </xqx:orOp> (nodes) but instead <xqx:orOp>...<xqx:otherOp> (text) you should consider another solution, like using output-method 'text'. This also prevents you from falling into the trap of creating nodes, when you mean the text (which looks like nodes when serialized, but really aren't), because nodes are not serialized in with the text-method (only the 'value-of' value of the nodes). Please inform us a bit deeper of the target format that you are creating. If it is XML, you must choose another way, if it is text that resembles XML, you may want to use XSLT in text-mode or another language. -- Abel
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|