Subject: RE: [xsl] namespaces From: William Lam <xeenman@xxxxxxxxx> Date: Mon, 25 Jun 2001 12:11:49 -0700 (PDT) |
I am creating a XSLT stylesheet to create a XSLT stylesheet. So in my result document I must declare a namespace with the URI of "http://unknown" and I want to stick the prefix string into a variable so I can output it later. --- Michael Kay <mhkay@xxxxxxxxxxxx> wrote: > > While in the middle of processing a XSLT tempalte, > I > > have a declared namespace URI, but I do not have > the > > shorthand. Is there anyway to get the shorthand > back > > and stick it into a variable? > > I don't think I understand. You say the namespace is > declared, does that > mean it is declared using a namespace declaration in > the stylesheet? But if > that was the case, you would know its prefix (which > is what I assume you > mean by "shorthand"). > > If the namespace is not declared in either the > source document or the > stylesheet, there is at present no way of getting it > declared in the result > document. > > Mike Kay > > > > The reason I need to do this is to stick it in the > > text of an attribute > > > > <x y="unknown:i.execute()" /> > > > > where unknown is the unknown shorthand, but we > have > > the URI http://www.known.com > > > > > > __________________________________________________ > > Do You Yahoo!? > > Get personalized email addresses from Yahoo! Mail > > http://personal.mail.yahoo.com/ > > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > > > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] namespaces, Michael Kay | Thread | RE: [xsl] namespaces, Michael Kay |
Re: [xsl] XML document validation, Rafael R. Sevilla | Date | RE: [xsl] XSLT problem (last line c, Mark Swardstrom |
Month |