Click here to Skip to main content
15,922,529 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionIXMLDOMDocument Save Method Pin
Edward Abrahim6-Sep-05 10:30
Edward Abrahim6-Sep-05 10:30 
Questionwhat's xml payload? Pin
HeartFriend3-Sep-05 1:08
HeartFriend3-Sep-05 1:08 
AnswerRe: what's xml payload? Pin
Christian Graus6-Sep-05 13:13
protectorChristian Graus6-Sep-05 13:13 
QuestionHow to Display Data in DataGrid Pin
Chetan Ranpariya2-Sep-05 1:37
Chetan Ranpariya2-Sep-05 1:37 
AnswerRe: How to Display Data in DataGrid Pin
softty2-Sep-05 8:24
softty2-Sep-05 8:24 
GeneralRe: How to Display Data in DataGrid Pin
Chetan Ranpariya2-Sep-05 17:10
Chetan Ranpariya2-Sep-05 17:10 
QuestionXSL data pre-processing Pin
Vitaly Tomilov1-Sep-05 23:42
Vitaly Tomilov1-Sep-05 23:42 
QuestionSVG: Manipulation with text length and size Pin
Adry131-Aug-05 23:54
sussAdry131-Aug-05 23:54 
Hallo all,

I'd like to do the following: to draw a rectangle with the text inside such that, if the length of the text (in pixels) is longer than rectangle width, then the text should be adjusted to the width of rectangle. If the text can be put inside a rectangle without any changes, adjusting is not needed. Also the font size of the text should be somehow related to the size of the rectangle (which is given relatively, in percents, like <rect width="3%" height="2%" />), but it doesn't work, if one writes e.g. font-size = "1%"...

As for text adjusting, if I use the textLength attribute (i.e. set it equal to rectangle width), then the text will be _always_ adjusted to the rectangle width, even if there is enough space for the text in initial state, what would be not so wished...

As one can see, textLength atribute can not be used as well as relative text size (in %) doesn't work. What can I do in such a case? The only solution as I see is usage of JavaScript and calculation of text size and adjusting already on the client side... But it would not be very well, may be there are another approaches to the problem?

Many thanks in advance.
AnswerRe: SVG: Manipulation with text length and size Pin
Adry11-Sep-05 0:01
sussAdry11-Sep-05 0:01 
QuestionCDATA Pin
Anonymous31-Aug-05 12:31
Anonymous31-Aug-05 12:31 
Question.removing empty elements Pin
ruud ortmans30-Aug-05 23:28
ruud ortmans30-Aug-05 23:28 
AnswerRe: .removing empty elements Pin
softty31-Aug-05 7:54
softty31-Aug-05 7:54 
GeneralRe: .removing empty elements Pin
ruud ortmans1-Sep-05 9:34
ruud ortmans1-Sep-05 9:34 
QuestionSend Request SOAP Envelope Pin
Donnylies30-Aug-05 22:08
Donnylies30-Aug-05 22:08 
Questionhow to write a xml data reduced file? Pin
HeartFriend30-Aug-05 2:33
HeartFriend30-Aug-05 2:33 
AnswerRe: how to write a xml data reduced file? Pin
softty31-Aug-05 7:57
softty31-Aug-05 7:57 
Questionhow to use xml schema in c++ programming? Pin
HeartFriend29-Aug-05 18:24
HeartFriend29-Aug-05 18:24 
QuestionXSD:TIME and .NET Pin
Timothy_198229-Aug-05 3:48
Timothy_198229-Aug-05 3:48 
Questionxsd:time XML - .NET Pin
Anonymous29-Aug-05 3:44
Anonymous29-Aug-05 3:44 
QuestionMSXML DOM help Pin
johnnyXP27-Aug-05 3:07
johnnyXP27-Aug-05 3:07 
QuestionProblem loading XML Pin
rscr26-Aug-05 3:55
rscr26-Aug-05 3:55 
NewsA very simple problem with XML Pin
benqazou26-Aug-05 2:34
benqazou26-Aug-05 2:34 
AnswerRe: A very simple problem with XML Pin
DavidNohejl26-Aug-05 3:07
DavidNohejl26-Aug-05 3:07 
GeneralRe: A very simple problem with XML Pin
benqazou26-Aug-05 5:11
benqazou26-Aug-05 5:11 
GeneralRe: A very simple problem with XML Pin
DavidNohejl26-Aug-05 6:11
DavidNohejl26-Aug-05 6:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.