|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: QName as attribute value: how to be sure the prefi
See Example: Constructing a QName-Valued Attribute at http://www.w3.org/TR/xslt20/#creating-attributes In this example everything is known statically, but pretty well everything could have been dynamic, it would just make the example more complicated. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Florent Georges [mailto:darkman_spam@xxxxxxxx] > Sent: 05 April 2006 18:08 > To: XSL Mulberry list > Subject: QName as attribute value: how to be sure the > prefix will be bound? > > Hi > > I searched in the XSLT, XPath and FO recommendations, and > wasn't able to find a clear response (and Googling and > searching the archive were of no help). How can I construct > a QName as an attribute *value*, and be guaranted the prefix > is correctly bound at this scope in the output tree? > > I'd like to construct an @xsi:type. I know the target > namespace URI (I can use it as a string literal but would > prefer to use node-name()). I have to construct the local > name (using concat() and local-name()). > > What is the safer way to do this? > > Thanks. Regards, > > --drkm > > > > > > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________ > _____________ > Nouveau : tiliphonez moins cher avec Yahoo! Messenger ! > Dicouvez les tarifs exceptionnels pour appeler la France et > l'international. > Tilichargez sur http://fr.messenger.yahoo.com
|
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








