[KLUG Members] XML/DSML/XSL Transform Help
Andrew Thompson
tempes at ameritech.net
Wed Feb 16 23:31:17 EST 2005
On Wed, 2005-02-16 at 14:28, Adam Tauno Williams wrote:
> > Okay, explain this.
> > If the document root tag is -
> > <batchResponse xmlns="urn:oasis:names:tc:DSML:2:0:core"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > then the XSLT doesn't work.
> > If I strip the document root tag down to just <batchResponse>, then it
> > works. Eh?
>
> It finally became clear to me: the xslt processor is aware of the
> namespace. Duh!
>
> One has to declare an alias for the namespace in the xslt tag and then
> prefix the corresponding attributes.
In the immortal words of Edmund BlackAdder: Yyyyep!
--
Andrew Thompson <tempes at ameritech.net>
The Imagerie
More information about the Members
mailing list