tengo el siguiente xml:
Código:
el cual quiero convertir a html mediante usando la plantilla xsl:<?xml version="1.0" encoding="UTF-8"?> <labelResponse> <consignment key="CON1"> <pieceLabelData> <pieceNumber>1</pieceNumber> <weightDisplay code="1.11" renderInstructions="yes">1.11kg</weightDisplay> <pieceReference><![CDATA[piece1]]></pieceReference> <barcode symbology="128C">1100123456782011641024002132</barcode> <twoDBarcode symbology="pdf417"><![CDATA[123456782|123456782||1||Steve Matthews|TNT House|MADRID|28001|ES|||TNT Corporate Head Office|Neptunusstraat 41-63|HOOFDDORP|2132 LS|NL||EX|N|PR|||||||N|||piecelinegoods desc|3|1.11|1.3676310000000003|N|29 Apr 2015|11:08:00]]></twoDBarcode> </pieceLabelData> <pieceLabelData> <pieceNumber>2</pieceNumber> <weightDisplay code="1.11" renderInstructions="yes">1.11kg</weightDisplay> <pieceReference><![CDATA[piece1]]></pieceReference> <barcode symbology="128C">1100123456782021641024002132</barcode> <twoDBarcode symbology="pdf417"><![CDATA[123456782|123456782||2||Steve Matthews|TNT House|MADRID|28001|ES|||TNT Corporate Head Office|Neptunusstraat 41-63|HOOFDDORP|2132 LS|NL||EX|N|PR|||||||N|||piecelinegoods desc|3|1.11|1.3676310000000003|N|29 Apr 2015|11:08:00]]></twoDBarcode> </pieceLabelData> <pieceLabelData> <pieceNumber>3</pieceNumber> <weightDisplay code="1.11" renderInstructions="yes">1.11kg</weightDisplay> <pieceReference><![CDATA[piece3]]></pieceReference> <barcode symbology="128C">1100123456782031641024002132</barcode> <twoDBarcode symbology="pdf417"><![CDATA[123456782|123456782||3||Steve Matthews|TNT House|MADRID|28001|ES|||TNT Corporate Head Office|Neptunusstraat 41-63|HOOFDDORP|2132 LS|NL||EX|N|PR|||||||N|||piecelinegoods desc|3|1.11|1.3676310000000003|N|29 Apr 2015|11:08:00]]></twoDBarcode> </pieceLabelData> <consignmentLabelData> <consignmentNumber>123456782</consignmentNumber> <sender> <name><![CDATA[Steve Matthews]]></name> <addressLine1><![CDATA[TNT House]]></addressLine1> <addressLine2><![CDATA[TNT House]]></addressLine2> <town><![CDATA[MADRID]]></town> <province><![CDATA[Madrid]]></province> <postcode><![CDATA[28001]]></postcode> <country><![CDATA[ES]]></country> </sender> <delivery> <name><![CDATA[TNT Corporate Head Office]]></name> <addressLine1><![CDATA[Neptunusstraat 41-63]]></addressLine1> <addressLine2><![CDATA[Taurusavenue 111]]></addressLine2> <town><![CDATA[HOOFDDORP]]></town> <province><![CDATA[]]></province> <postcode><![CDATA[2132 LS]]></postcode> <country><![CDATA[NL]]></country> </delivery> <account> <accountNumber>100456</accountNumber> <accountCountry>GB</accountCountry> </account> <totalNumberOfPieces>3</totalNumberOfPieces> <product id="EX">Express (ND)</product> <option id="PR"><![CDATA[PR]]></option> <collectionDate>2015-04-29</collectionDate> <marketDisplay code="2" renderInstructions="yes"><![CDATA[INT]]></marketDisplay> <transportDisplay code="1" renderInstructions="yes"><![CDATA[AIR]]></transportDisplay> <freeCirculationDisplay code="" renderInstructions="highlighted"><![CDATA[C]]></freeCirculationDisplay> <sortSplitText><![CDATA[2]]></sortSplitText> <xrayDisplay code="" renderInstructions="yes">X-RAY</xrayDisplay> <originDepot> <depotCode>MAD</depotCode> </originDepot> <transitDepots> <sortDepot> <depotCode>LGG</depotCode> <sortCellIndicator code="" renderInstructions="yes">8</sortCellIndicator> <sortLocationCode>SP8</sortLocationCode> </sortDepot> </transitDepots> <destinationDepot> <depotCode>SP8</depotCode> <dueDayOfMonth>30</dueDayOfMonth> <dueDate>2015-04-30</dueDate> </destinationDepot> <microzone code="" renderInstructions="no"/> <clusterCode>41</clusterCode> <cashAmount code="0.0" renderInstructions="no"/> <specialInstructions></specialInstructions> <bulkShipment code="" renderInstructions="no"/> </consignmentLabelData> </consignment> </labelResponse>
[PHP[/PHP]