[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Writing xslt from DSML
Hi, I am using XSLT 2.0. I have to form write the XSLT for the DSML content extracted from a LDAP server. I am trying to generate an XML fragment from multivalued LDAP attributes. data(in DSML form) looks like <batchResponse xmlns:xsd="http://www.w3c.org/2001/XMLSchema" xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"> <searchResponse> <searchResultEntry dn="uid=282002558871883,ou=People,o=sct.com,o=cp"> <attr name="uid"> <value>282002558871883</value> </attr> <attr name="pdsloginid"> <value>fac60006</value> </attr> <attr name="givenname"> <value>Brutus</value> </attr> <attr name="pdsemaildefaultaddress"> <value>fac60006@xxxxxxx</value> </attr> <attr name="pdscpsurveyed"> <value>true</value> </attr> </searchResponse> </batchResponse > I need the XML file from the above DSML file. The XML file which I need is <batchResponse xmlns:xsd="http://www.w3c.org/2001/XMLSchema" xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"> <uid> 282002558871883 </uid> <pdsloginid> fac60006 </pdsloginid> <givenname> Brutus </givenname> <pdsemaildefaultaddress> fac60006@xxxxxxx </pdsemaildefaultaddress> <pdscpsurveyed> true </pdscpsurveyed> </batchResponse > So how can I achieve this using XSLT. I am a newbee to XSLT.Please help Thank you, Evergreen
|
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
|