Translate

Image of Android Wireless Application Development
Image of Operating System Concepts
Image of Linux Kernel Development (3rd Edition)
Image of Beginning Google Maps API 3

Manipulating XML Attributes using XSLT

Consider the following XML document called example.xml. As you can see, the document has two elements named sourcefield which contain multiple attributes. <source> <sourcefield businessname ="" datatype ="DATE" description ="" fieldnumber ="1" fieldproperty ="0" fieldtype ="ELEMITEM" hidden ="NO" keytype ="NOT A KEY" length ="19" level ="0" name ="BUSINESS_DATE" nullable ="NULL" occurs ="0" offset ="0" physicallength ="19" physicaloffset ="0" picturetext ="" precision ="19" scale ="0" usage_flags =""/> <sourcefield businessname ="JOHNSON" datatype ="DATE" description ="SHOEMAKER" fieldnumber ="1" fieldproperty ="1" fieldtype ="ELEMITEM" hidden ="NO" keytype ="NOT A KEY" length ="19" level ="3" name ="BUSINESS_DATE" nullable ="NULL" occurs ="0" offset ="0" physicallength ="19" physicaloffset