|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Newbie needs XSLT to generate specified output
For given billing.xml and address.xml, I need xslt to get output.xml.
Many thanks in advance!
========= billing.xml ==================
<?xml version="1.0" ?>
<!-- billing.xml -->
<customer _name="test1">
<current_charges>
<phone_no>999-999-9999</phone_no>
<local_calls>344</local_calls>
<unit_price>0.05</unit_price>
<line_charge>1000</line_charge>
<ATT_units>101</ATT_units>
<ATT_unit_price> 0.17 </ATT_unit_price>
<misc_taxes> 5.95 </misc_taxes>
</current_charges>
</customer_name >
======== address.xml ===================
<?xml version="1.0"?>
<!--address.xml -->
<customer_name="test1">
<street1> 999 Main St. #200 </street>
<street2> </street2>
<city> San Francisco </city>
<state> CA </state>
<country> USA </country>
</customer_name>
<phone_no="999-999-9999">
<service_type> Plan_A </service_type>
<provider> ATT</provider>
</phone_no>
========= output.xml ==================
<?xml version="1.0"?>
<!--output.xml -->
<customer_name="test1">
<!--address information -->
<street1> 999 Main St. #200 </street>
<street2> </street2>
<city> San Francisco </city>
<state> CA </state>
<country> USA </country>
<current_charges>
<phone_no>999-999-9999</phone_no>
<service_type> Plan_A </service_type>
<provider> ATT</provider>
<local_calls>344</local_calls>
<unit_price>0.05</unit_price>
<line_charge>1000</line_charge>
<ATT_units>101</ATT_units>
<ATT_unit_price> 0.17 </ATT_unit_price>
<misc_taxes> 5.95 </misc_taxes>
</current_charges>
</customer_name>
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








