[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

Subject: RE: QName as attribute value: how to be sure the prefix will be bound?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 5 Apr 2006 18:21:51 +0100
q name
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.