|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: string-calculated entity reference
> i want something like &x; where x is calculated to be a or b. > is this possible? No, you probably want to use xsl variables, not xml entities. Remember, the entities are expanded by the xml parser before xsl ever sees your stylesheet, so the xsl system does not know there were any entities at all, so has no hope of switching between them. Of course you can do the switch at the xml parse level: That is you can have <!ENTITY x "&a;"> and then use &x; but to switch x to being b you have to change the entity declaration. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








