|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Namespace (adding and modifying elements in an EJB
My input file is :
<?xml version="1.0" encoding="UTF-8"?> <ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmlns:commonbnd="commonbnd.xmi" xmlns:common="common.xmi" xmi:id="ejb-jar_ID_Bnd"> <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/> <ejbBindings xmi:id="ContainerManagedEntity_1_Bnd" jndiName="com/steria/derbi/objet/enty/Ph_modem"> <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1"/> <ejbRefBindings xmi:id="EjbRefBinding_1" jndiName="Ph_locationHome"> <bindingEjbRef href="META-INF/ejb-jar.xml#EjbRef_1"/> </ejbRefBindings> <ejbRefBindings xmi:id="EjbRefBinding_2" jndiName="Ph_equipmentHome"> <bindingEjbRef href="META-INF/ejb-jar.xml#EjbRef_2"/> </ejbRefBindings> </ejbBindings> ... ... -------------------------------------- I wrote that <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ejbbnd="ejbbnd.xmi" > <xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes" /> <xsl:template match="ejbbnd:EJBJarBnding" xmlns:ejbbnd="ejbbnd.xmi"> <xsl:message>***</xsl:message> <!-- ... --> </xsl:template> <xsl:template match=" * | @* " >
<xsl:copy>
<xsl:apply-templates select=" * | @* "/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>J.Pietschmann wrote: alexandre bord wrote: XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








