|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have to transform an xml to a text file. I am using XSLT. Can I specify the size for a particular attribute of xml, regardless of the length of that attribute.
Suppose the length of the attribute is 10 but I want to reserve 20 spaces for that attribute. Is that possible? |
|
#2
|
||||
|
||||
|
http://www.dpawson.co.uk/xsl/sect2/padding.html
maybe this might help you out. Basically what they are saying to do here is to get the length of the string and append a space onto the end until it fills up to your desired length. You might have to use something similiar to or to get the output correct.
__________________
Teflon - The Black <desc>Mark This Up</desc> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > XML to Text |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|