[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
XSL and Namespaces
Subject: XSL and Namespaces From: Ed Burns <edburns@xxxxxxx> Date: Tue, 5 May 1998 16:13:31 -0700 |
Hi There, There is nothing substantial about XML namespaces in the XSL spec. So I don't know where it stands. Consider this XML: <?xml version="1.0"?> <?xml:namespace href="com.ibm.almaden.parsetools.javaxml" as="BIB" ?> <rdf> <Description HREF="http://www.bar.com/some.doc"> <BIB:Author BIB:NAME="John Smith" BIB:Email="John@xxxxxxxxx" BIB:Phone="+1-555-123-4567"/> </Description> </rdf> And this XSL: <xsl> <rule> <root/> <HTML> <BODY font-family="Arial, helvetica, sans-serif" font-size="12pt" background-color="#EEEEEE"> <TABLE ALIGN="center" BORDER="2" BGCOLOR="#FFB57A"> <children/> </TABLE> </BODY> </HTML> </rule> <rule> <element type="rdf"> <any> <element type="Description"> <target-element type="BIB:Author"/> </element> </any> </element> <TR> <TD><eval>getAttribute("BIB:NAME")</eval></TD> <TD><eval>getAttribute("BIB:Email")</eval></TD> <TD><eval>getAttribute("BIB:Phone")</eval></TD> <children/> </TR> </rule> </xsl> Is it legal to target elements using a namespace, such as BIB:Author? MSXML doesn't seem to support it. What's the word on the street? Ed XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Multi-target pattern issues, David Kellum | Thread | Re: XSL and Namespaces, Paul Prescod |
Re: Multi-target pattern issues, David Kellum | Date | Re: XSL and Namespaces, Paul Prescod |
Month |