dunno if it'd be better to just define a new xml tag, but right now if you want to codenote a comment block like this: /* * this is a block of text * where i like to do a lot * of funky things */ you end up with this as your first line: // /*
since you are the local XSL guy, any ideas on how to do this?
I tested it in a <pre> and can't see that this problem is still valid.
because i dont want <pre>, i want a codeblock ... no offense but i hate when ppl utilize tags for purposes other than what they were designed ... if you have an xml tag that is designed to do something, then have it do what it is designed for ... dont take other tags and use them just because it 'looks ok' when you convert it to html good example is people using <i> in place of <c> or <code> in the xml files ... thats wrong, the bit they sectioned of is *code*
A <pre> is made for Code Listing's (or at least we make them so). I wish people don't use our XML guides as a mixture of GuideXML and HTML. This isn't what GuideXML is made for. *Only* use the GuideXML tags please. Otherwise we will have problems later when we write up XSLTs for other formats (such as PDF, manpages, DocBook) since you'll then feed HTML-code to the XSLT which isn't known and will mess up the other output.
<codenote> is now depreciated. someone close please
comment 5 is correct.