Subject: Re: [xsl] How to handle xsi prefix in XSLT From: Janusz Dalecki <janusz.dalecki@xxxxxxxxx> Date: Fri, 30 Nov 2001 10:18:13 +1100 |
Yep, Below is the XSLT file and XML that I am trying to apply the XSL to. Regards Janusz XSLT file <?xml version = "1.0" encoding = "UTF-8"?> <!DOCTYPE xsl:stylesheet SYSTEM "file:///c:/PROGRAM%20FILES/TIBCOEXTENSIBILITY/XI/../Common/intrinsics/xslt.dtd"> <xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" xmlns:xsi = "http://www.w3.org/2000/10/XMLSchema-instance" version = "1.0"> <xsl:template match = "Command"> <xsl:element name = "Transaction"> <xsl:apply-templates select = "@*"/> </xsl:element> </xsl:template> <xsl:template match = "Command[@xsi:type]"> <xsl:element name = "hhhhhhh"> </xsl:element> </xsl:template> </xsl:stylesheet> XML file <?xml version = "1.0" encoding = "utf-8"?> <?xml-stylesheet href = 'file:///C:/!work/CA_Transformation.xsl' type = 'text/xsl'?> <request xmlns:xsi = "http://www.w3.org/2000/10/XMLSchema-instance"> <InvocationIdentity xmlns = "">invocationId</InvocationIdentity> <SourceIdentity xmlns = "">sourceId</SourceIdentity> <Service xmlns = "">OnNetVoiceSubscriptionManagement</Service> <Command xsi:type = "AddSubscriptionReq"> <routeID>route</routeID> <ipAddress>2.2.2.2</ipAddress> <maxConcurentCalls>7</maxConcurentCalls> <pilotNumber>1111111111</pilotNumber> </Command> </request> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to handle xsi prefix , Thomas B. Passin | Thread | Re: [xsl] How to handle xsi prefix , Thomas B. Passin |
[xsl] FW: [Announcement] Apache Coc, Steven Noels | Date | Re: [xsl] replacing a string value , Jörg Heinicke |
Month |